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 crypto from "crypto";
|
||||||
import { StatsClient } from '../entities/StatsClient';
|
import { StatsClient } from '../entities/StatsClient';
|
||||||
/**
|
/**
|
||||||
@ -15,7 +15,7 @@ export class CreateStatsClient {
|
|||||||
/**
|
/**
|
||||||
* Is the new client enabled.
|
* Is the new client enabled.
|
||||||
*/
|
*/
|
||||||
@IsString()
|
@IsBoolean()
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
enabled?: boolean;
|
enabled?: boolean;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user