mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3294] [MERGED] HBE-258 hotfix: skip parameter in findMany in shortcode module #4328
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4328
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/3294
Author: @mirarifhasan
Created: 8/25/2023
Status: ✅ Merged
Merged: 8/25/2023
Merged by: @AndrewBastin
Base:
release/2023.8.0← Head:hotfix/fetch-shortcode📝 Commits (1)
5649052fix: skip parameter in findMany📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
packages/hoppscotch-backend/src/shortcode/shortcode.service.ts(+1 -1)📄 Description
Closes HBE-258
Description
This hotfix PR solves the fetch shortcode issue. When the request comes for fetchUserShortCodes, the
this.prisma.shortcode.findManyskip the first data (in default). The correct logic should be, the there is cursor parameter in arg (for pagination), only that timeskip: 1should pass in the findMany() operation.Checks
Additional Information
Nil
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.