Split queries into prisma and sql.

This commit is contained in:
Mike Cao committed 2025-09-29 16:55:07 -07:00
1 parent 1a66e3df73
commit b9fbbc6453
69 files changed
+117 -115

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { json, notFound } from '@/lib/response';
import { createToken } from '@/lib/jwt';
import { secret } from '@/lib/crypto';
import { getSharedWebsite } from '@/queries';
import { getSharedWebsite } from '@/queries/prisma';
export async function GET(request: Request, { params }: { params: Promise<{ shareId: string }> }) {
const { shareId } = await params;