fix: add default limit to chats-list pagination (closes #2254) (fix #2253)

This commit is contained in:
jperquin authored and GitHub committed 2026-09-09 17:56:21 +07:00
1 parent 8ab642b20d
commit aa0663b187
1 file changed
+5
+5
View File
@@ -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,