Skip to content

Commit

Permalink
Merge pull request #699 from mit-27/fix-cursor-transformation
Browse files Browse the repository at this point in the history
Fix cursor value transformation for pagination
  • Loading branch information
naelob authored Sep 16, 2024
2 parents 99a5877 + ab51a2a commit 223b2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/@core/utils/dtos/query.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class QueryDto {
description: 'Set to get the number of records after this cursor.',
})
@IsOptional()
//@Transform((p) => Buffer.from(p.value, 'base64').toString())
@Transform((p) => Buffer.from(p.value, 'base64').toString())
@IsUUID()
cursor: string;
}

0 comments on commit 223b2b3

Please sign in to comment.