From 366696e6962e56eb1eb4fa0a7832e16a591dc80b Mon Sep 17 00:00:00 2001 From: Sean Brydon Date: Wed, 18 Oct 2023 14:20:19 +0100 Subject: [PATCH] Fix imports --- packages/features/auth/signup/handlers/calcomHandler.ts | 2 +- packages/features/auth/signup/utils/token.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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({