Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
HBE-258 hotfix: skip parameter in findMany in shortcode module (#3294)
Mir Arif Hasand4d7a20fbdf6
diff --git a/packages/hoppscotch-backend/src/shortcode/shortcode.service.ts b/packages/hoppscotch-backend/src/shortcode/shortcode.service.tsindex d7d0c5d9c..87fb5405a 100644--- a/packages/hoppscotch-backend/src/shortcode/shortcode.service.ts+++ b/packages/hoppscotch-backend/src/shortcode/shortcode.service.ts@@ -150,7 +150,7 @@ export class ShortcodeService implements UserDataHandler, OnModuleInit {orderBy: {createdOn: 'desc',},- skip: 1,+ skip: args.cursor ? 1 : 0,take: args.take,cursor: args.cursor ? { id: args.cursor } : undefined,});