mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-16 02:36:53 +02:00
♻️ Move nanoid to utils package (#1430)
This commit is contained in:
parent
d55131c2ab
commit
0fc7d0a0c8
12 changed files with 371 additions and 439 deletions
apps/web/src
|
@ -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[] = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue