revert and fix (please work)

This commit is contained in:
Maze Winther 2025-07-16 15:44:05 +02:00
parent 700366f61e
commit e317fb547d
4 changed files with 4 additions and 6 deletions

View File

@ -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);

View File

@ -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";

View File

@ -1,5 +1,4 @@
import { db, sql } from "@opencut/db";
import { waitlist } from "@opencut/db/schema";
import { db, sql, waitlist } from "@opencut/db";
export async function getWaitlistCount() {
try {

View File

@ -12,7 +12,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",