1
0
Fork 0
mirror of https://github.com/lukevella/rallly.git synced 2025-08-16 02:36:53 +02:00

♻️ Move nanoid to utils package ()

This commit is contained in:
Luke Vella 2024-11-08 17:50:07 +00:00 committed by GitHub
commit 0fc7d0a0c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 371 additions and 439 deletions
apps/web/src

View file

@ -1,5 +1,6 @@
import { prisma } from "@rallly/database";
import { absoluteUrl } from "@rallly/utils/absolute-url";
import { generateOtp, randomid } from "@rallly/utils/nanoid";
import type {
GetServerSidePropsContext,
NextApiRequest,
@ -22,7 +23,6 @@ import { env } from "@/env";
import type { RegistrationTokenPayload } from "@/trpc/types";
import { getEmailClient } from "@/utils/emails";
import { getValueByPath } from "@/utils/get-value-by-path";
import { generateOtp, randomid } from "@/utils/nanoid";
import { decryptToken } from "@/utils/session";
const providers: Provider[] = [