fix mini app bot father
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Type } from 'class-transformer';
|
||||
import { IsBoolean, IsInt, IsOptional, IsString, IsUrl, Max, Min, MinLength } from 'class-validator';
|
||||
|
||||
export class CreateBotDto {
|
||||
@@ -65,11 +66,13 @@ export class ListAdminBotsQueryDto {
|
||||
search?: string;
|
||||
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
@Min(1)
|
||||
page?: number;
|
||||
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
@Min(1)
|
||||
@Max(100)
|
||||
|
||||
Reference in New Issue
Block a user