diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-24 11:05:20 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-24 11:05:20 +0200 |
| commit | e9889b8fa74cc43189035eb36e305136b943d9bd (patch) | |
| tree | 39b1bd81b42da828add452260afcb2bcb49163e2 /apps/web/src | |
| parent | 0ebab57aaa17e8548bdd1cbba0cb523b81d1ed4b (diff) | |
| download | opencut-e9889b8fa74cc43189035eb36e305136b943d9bd.tar.gz | |
feat: update authentication imports and migrate to new db package structure
Diffstat (limited to 'apps/web/src')
| -rw-r--r-- | apps/web/src/app/(auth)/login/page.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/app/(auth)/signup/page.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/app/api/waitlist/route.ts | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/app/(auth)/login/page.tsx b/apps/web/src/app/(auth)/login/page.tsx index 9935e153..73c34e1e 100644 --- a/apps/web/src/app/(auth)/login/page.tsx +++ b/apps/web/src/app/(auth)/login/page.tsx @@ -1,7 +1,7 @@ "use client"; import { useRouter } from "next/navigation"; -import { signIn } from "@/lib/auth-client"; +import { signIn } from "@opencut/auth/client"; import { Button } from "@/components/ui/button"; import { Card, diff --git a/apps/web/src/app/(auth)/signup/page.tsx b/apps/web/src/app/(auth)/signup/page.tsx index b28e2226..1c98b9e1 100644 --- a/apps/web/src/app/(auth)/signup/page.tsx +++ b/apps/web/src/app/(auth)/signup/page.tsx @@ -1,7 +1,7 @@ "use client"; import { useRouter } from "next/navigation"; -import { signUp, signIn } from "@/lib/auth-client"; +import { signUp, signIn } from "@opencut/auth/client"; import { Button } from "@/components/ui/button"; import { Card, diff --git a/apps/web/src/app/api/waitlist/route.ts b/apps/web/src/app/api/waitlist/route.ts index f0b1c1fb..0632616b 100644 --- a/apps/web/src/app/api/waitlist/route.ts +++ b/apps/web/src/app/api/waitlist/route.ts @@ -1,6 +1,6 @@ import { NextRequest, NextResponse } from "next/server";
-import { db } from "@/lib/db";
-import { waitlist } from "@/lib/db/schema";
+import { db } from "@opencut/db";
+import { waitlist } from "@opencut/db/schema";
import { eq } from "drizzle-orm";
import { nanoid } from "nanoid";
import { waitlistRateLimit } from "@/lib/rate-limit";
|
