Fix imports
parent
b70838bed3
commit
366696e696
|
@ -11,7 +11,7 @@ import { usernameHandler, type RequestWithUsernameStatus } from "@calcom/lib/ser
|
||||||
import { createWebUser as syncServicesCreateWebUser } from "@calcom/lib/sync/SyncServiceManager";
|
import { createWebUser as syncServicesCreateWebUser } from "@calcom/lib/sync/SyncServiceManager";
|
||||||
import { closeComUpsertTeamUser } from "@calcom/lib/sync/SyncServiceManager";
|
import { closeComUpsertTeamUser } from "@calcom/lib/sync/SyncServiceManager";
|
||||||
import { validateUsername } from "@calcom/lib/validateUsername";
|
import { validateUsername } from "@calcom/lib/validateUsername";
|
||||||
import prisma from "@calcom/prisma";
|
import { prisma } from "@calcom/prisma";
|
||||||
import { IdentityProvider } from "@calcom/prisma/enums";
|
import { IdentityProvider } from "@calcom/prisma/enums";
|
||||||
import { signupSchema, teamMetadataSchema } from "@calcom/prisma/zod-utils";
|
import { signupSchema, teamMetadataSchema } from "@calcom/prisma/zod-utils";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import dayjs from "@calcom/dayjs";
|
import dayjs from "@calcom/dayjs";
|
||||||
import { HttpError } from "@calcom/lib/http-error";
|
import { HttpError } from "@calcom/lib/http-error";
|
||||||
import { validateUsernameInTeam } from "@calcom/lib/validateUsername";
|
import { validateUsernameInTeam } from "@calcom/lib/validateUsername";
|
||||||
import prisma from "@calcom/prisma";
|
import { prisma } from "@calcom/prisma";
|
||||||
|
|
||||||
export async function findTokenByToken({ token }: { token: string }) {
|
export async function findTokenByToken({ token }: { token: string }) {
|
||||||
const foundToken = await prisma.verificationToken.findFirst({
|
const foundToken = await prisma.verificationToken.findFirst({
|
||||||
|
|
Loading…
Reference in New Issue