fix: trying to update the timeFormat throws error (#17991)
* timeFormat should be an intiger
This commit is contained in:
1 parent
2444598e38
commit
3015c5a15e
1 file changed
+1
-1
@@ -14,7 +14,7 @@ export class UpdateManagedUserInput {
|
||||
name?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsIn(["12", "24"])
|
||||
@IsIn([12, 24])
|
||||
@ApiProperty({ example: 12, enum: [12, 24], description: "Must be 12 or 24" })
|
||||
timeFormat?: TimeFormat;
|
||||
|
||||
|
||||
Reference in new issue
Block a user