Skip to content

Commit

Permalink
fix: path /me endpoint should capitalize timezone apiv2 (calcom#15593)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev authored and p6l-richard committed Jul 22, 2024
1 parent 7dadb8b commit f7beedc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { CapitalizeTimeZone } from "@/lib/inputs/capitalize-timezone";
import { TimeFormat, WeekDay } from "@/modules/users/inputs/create-managed-user.input";
import { ApiProperty } from "@nestjs/swagger";
import { IsIn, IsNumber, IsOptional, IsString, IsTimeZone } from "class-validator";
Expand Down Expand Up @@ -31,5 +32,6 @@ export class UpdateManagedUserInput {

@IsTimeZone()
@IsOptional()
@CapitalizeTimeZone()
timeZone?: string;
}

0 comments on commit f7beedc

Please sign in to comment.