Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove stray console.log
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent fb3fa00 commit 95bda99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion functions/api/appeals/toggle.ts
@@ -1,7 +1,6 @@
export async function onRequestPost(context: RequestContext) {
const { active } = context.data.body;
const { permissions } = context.data.current_user;
console.log(permissions)

if (!(permissions & (1 << 0)) && !(permissions & (1 << 11)))
return new Response('{"error":"Forbidden"}', {
Expand Down

0 comments on commit 95bda99

Please sign in to comment.