| @@ -1,4 +1,4 @@ | ||||
| import { IsOptional, IsString } from 'class-validator'; | ||||
| import { IsBoolean, IsOptional, IsString } from 'class-validator'; | ||||
| import crypto from "crypto"; | ||||
| import { StatsClient } from '../entities/StatsClient'; | ||||
| /** | ||||
| @@ -15,7 +15,7 @@ export class CreateStatsClient { | ||||
|     /** | ||||
|      * Is the new client enabled. | ||||
|      */ | ||||
|     @IsString() | ||||
|     @IsBoolean() | ||||
|     @IsOptional() | ||||
|     enabled?: boolean; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user