This commit is contained in:
1 parent
8ab642b20d
commit
aa0663b187
1 file changed
+5
@@ -216,6 +216,11 @@ export enum ChatSortField {
|
||||
}
|
||||
|
||||
export class ChatsPaginationParams extends PaginationParams {
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
limit?: number = 20;
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Sort by field',
|
||||
enum: ChatSortField,
|
||||
|
||||
Reference in new issue
Block a user