Skip to content

Commit

Permalink
chore: increase pagination managed users endpoint (#17147)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev authored Oct 17, 2024
1 parent 9208827 commit 8b50f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/platform/types/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ export class Pagination {
@Transform(({ value }: { value: string }) => value && parseInt(value))
@IsNumber()
@Min(1)
@Max(100)
@Max(250)
@IsOptional()
limit?: number;

@Transform(({ value }: { value: string }) => value && parseInt(value))
@ApiProperty({ required: false, description: "The number of items to skip", example: 0 })
@IsNumber()
@Min(0)
@Max(100)
@Max(250)
@IsOptional()
offset?: number | null;
}
Expand Down

0 comments on commit 8b50f41

Please sign in to comment.