diff --git a/packages/features/auth/signup/handlers/calcomHandler.ts b/packages/features/auth/signup/handlers/calcomHandler.ts index 3eed36b1f3..4d6b0101c3 100644 --- a/packages/features/auth/signup/handlers/calcomHandler.ts +++ b/packages/features/auth/signup/handlers/calcomHandler.ts @@ -11,7 +11,7 @@ import { usernameHandler, type RequestWithUsernameStatus } from "@calcom/lib/ser import { createWebUser as syncServicesCreateWebUser } from "@calcom/lib/sync/SyncServiceManager"; import { closeComUpsertTeamUser } from "@calcom/lib/sync/SyncServiceManager"; import { validateUsername } from "@calcom/lib/validateUsername"; -import prisma from "@calcom/prisma"; +import { prisma } from "@calcom/prisma"; import { IdentityProvider } from "@calcom/prisma/enums"; import { signupSchema, teamMetadataSchema } from "@calcom/prisma/zod-utils"; diff --git a/packages/features/auth/signup/utils/token.ts b/packages/features/auth/signup/utils/token.ts index 50991ca877..da1b08967d 100644 --- a/packages/features/auth/signup/utils/token.ts +++ b/packages/features/auth/signup/utils/token.ts @@ -1,7 +1,7 @@ import dayjs from "@calcom/dayjs"; import { HttpError } from "@calcom/lib/http-error"; import { validateUsernameInTeam } from "@calcom/lib/validateUsername"; -import prisma from "@calcom/prisma"; +import { prisma } from "@calcom/prisma"; export async function findTokenByToken({ token }: { token: string }) { const foundToken = await prisma.verificationToken.findFirst({