Skip to content

Commit

Permalink
fix: path /me endpoint should capitalize timezone apiv2 (#15593)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev authored Jun 27, 2024
1 parent 6670bbc commit ff8931f
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 ff8931f

Please sign in to comment.