From e317fb547d531dfc6a65b115df431fd95d0e60f4 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 16 Jul 2025 15:44:05 +0200 Subject: revert and fix (please work) --- apps/web/src/app/api/auth/[...all]/route.ts | 2 +- apps/web/src/app/api/waitlist/route.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/web/src/app') diff --git a/apps/web/src/app/api/auth/[...all]/route.ts b/apps/web/src/app/api/auth/[...all]/route.ts index 393fb7e7..55510dcb 100644 --- a/apps/web/src/app/api/auth/[...all]/route.ts +++ b/apps/web/src/app/api/auth/[...all]/route.ts @@ -1,4 +1,4 @@ -import { auth } from "@opencut/auth/server"; +import { auth } from "@opencut/auth"; import { toNextJsHandler } from "better-auth/next-js"; export const { POST, GET } = toNextJsHandler(auth); \ No newline at end of file diff --git a/apps/web/src/app/api/waitlist/route.ts b/apps/web/src/app/api/waitlist/route.ts index f62e24e9..e5c9fd94 100644 --- a/apps/web/src/app/api/waitlist/route.ts +++ b/apps/web/src/app/api/waitlist/route.ts @@ -1,6 +1,5 @@ import { NextRequest, NextResponse } from "next/server"; -import { db, eq } from "@opencut/db"; -import { waitlist } from "@opencut/db/schema"; +import { db, eq, waitlist } from "@opencut/db"; import { checkBotId } from "botid/server"; import { nanoid } from "nanoid"; import { waitlistRateLimit } from "@/lib/rate-limit"; -- cgit v1.3.1