File tree Expand file tree Collapse file tree
apps/web/app/(use-page-wrapper)/settings/(admin-layout)/admin/users/[id]/edit
packages/features/ee/users/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequir
66import { UsersEditView } from "@calcom/features/ee/users/pages/users-edit-view" ;
77import SettingsHeader from "@calcom/features/settings/appDir/SettingsHeader" ;
88import { UserRepository } from "@calcom/features/users/repositories/UserRepository" ;
9- import prisma from "@calcom/prisma" ;
9+ import { prisma } from "@calcom/prisma" ;
1010
1111const userIdSchema = z . object ( { id : z . coerce . number ( ) } ) ;
1212
@@ -41,6 +41,7 @@ const Page = async ({ params }: { params: Params }) => {
4141
4242 const userRepo = new UserRepository ( prisma ) ;
4343 const user = await userRepo . adminFindById ( input . data . id ) ;
44+
4445 const t = await getTranslate ( ) ;
4546
4647 return (
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ interface User {
1919 weekStart : string ;
2020 theme : string | null ;
2121 defaultScheduleId : number | null ;
22- locale : string ;
23- timeFormat : number ;
24- allowDynamicBooking : boolean ;
25- identityProvider : string ;
26- role : string ;
22+ locale : string | null ;
23+ timeFormat : number | null ;
24+ allowDynamicBooking : boolean | null ;
25+ identityProvider : string | null ;
26+ role : string | null ;
2727 avatarUrl : string | null ;
2828 createdDate ?: string | Date ;
2929}
You can’t perform that action at this time.
0 commit comments