Skip to content

Commit 3015c5a

Browse files
authoredDec 4, 2024
fix: trying to update the timeFormat throws error (#17991)
* timeFormat should be an intiger
1 parent 2444598 commit 3015c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎apps/api/v2/src/modules/users/inputs/update-managed-user.input.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class UpdateManagedUserInput {
1414
name?: string;
1515

1616
@IsOptional()
17-
@IsIn(["12", "24"])
17+
@IsIn([12, 24])
1818
@ApiProperty({ example: 12, enum: [12, 24], description: "Must be 12 or 24" })
1919
timeFormat?: TimeFormat;
2020

0 commit comments

Comments
 (0)