diff --git a/functions/api/mod-queue/[type]/[id].ts b/functions/api/mod-queue/[type]/[id].ts index b180119..9f0167a 100644 --- a/functions/api/mod-queue/[type]/[id].ts +++ b/functions/api/mod-queue/[type]/[id].ts @@ -6,11 +6,15 @@ export async function onRequestGet(context: RequestContext) { }, gma: { permissions: [1 << 5], - prefix: `gameappeal_`, + prefix: "gameappeal_", + }, + inactivity: { + permissions: [1 << 0, 1 << 4, 1 << 6, 1 << 7, 1 << 11], + prefix: "inactivity_", }, report: { permissions: [1 << 5], - prefix: `report_`, + prefix: "report_", }, }; @@ -19,7 +23,7 @@ export async function onRequestGet(context: RequestContext) { if ( !types[type]?.permissions.find( - (p) => context.data.current_user.permissions & p + (p) => context.data.current_user.permissions & p, ) ) return new Response('{"error":"You cannot use this filter"}', {