parent
500b94b44a
commit
b7cbe2a0b4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue