We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b99544 commit c90e632Copy full SHA for c90e632
src/common/dto/cursor-pagination/page-options.dto.ts
@@ -12,7 +12,7 @@ export class PageOptionsDto {
12
beforeCursor?: string;
13
14
@NumberFieldOptional({
15
- minimum: 1,
+ min: 1,
16
default: DEFAULT_PAGE_LIMIT,
17
int: true,
18
})
src/common/dto/offset-pagination/page-options.dto.ts
@@ -11,14 +11,14 @@ import {
11
export class PageOptionsDto {
readonly limit?: number = DEFAULT_PAGE_LIMIT;
19
20
21
22
default: DEFAULT_CURRENT_PAGE,
23
24
0 commit comments