fix: check chat/vote ownership during actions (#847)

This commit is contained in:
Jeremy 2025-03-05 10:03:17 -08:00 committed by GitHub
parent c58fd528fc
commit a378757d3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 2 deletions

View file

@ -67,6 +67,7 @@ export async function POST(request: Request) {
return Response.json(document, { status: 200 });
}
return new Response('Unauthorized', { status: 401 });
}