debug ting innit!!!

This commit is contained in:
not-nullptr 2024-03-19 18:16:13 +00:00
parent 5e6ad9c8d9
commit 2a92663299

View file

@ -44,6 +44,7 @@ export async function POST({ request, getClientAddress }) {
const user = await useAuth(token);
console.log(user);
if (!user) return new Response(null, { status: 401 });
console.log(body, getClientAddress());
const room = RoomManager.createRoom({
name: body.name,
description: parsedDescription[0] || "",