Removed API Route for Liveblocks Auth

This commit is contained in:
Ahmad 2024-03-22 17:14:21 -04:00
parent cc72a29630
commit 7ed15fb631
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF

View file

@ -1,4 +1,4 @@
import { Liveblocks } from '@liveblocks/node'; /* import { Liveblocks } from '@liveblocks/node';
import { useUser } from '@clerk/nextjs'; import { useUser } from '@clerk/nextjs';
import { auth } from '@clerk/nextjs/server'; import { auth } from '@clerk/nextjs/server';
@ -24,4 +24,4 @@ export async function POST(req: Request) {
// Authorize the user and return the result // Authorize the user and return the result
const { status, body } = await session.authorize(); const { status, body } = await session.authorize();
return new Response(body, { status }); return new Response(body, { status });
} } */