diff --git a/packages/hoppscotch-backend/src/shortcode/shortcode.service.ts b/packages/hoppscotch-backend/src/shortcode/shortcode.service.ts index 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, });