diff --git a/functions/api/mod-queue/list.ts b/functions/api/mod-queue/list.ts index 1e28a9d..4871af8 100644 --- a/functions/api/mod-queue/list.ts +++ b/functions/api/mod-queue/list.ts @@ -8,16 +8,19 @@ export async function onRequestGet(context: RequestContext) { const tables: { [k: string]: string } = { appeal: "appeals", gma: "game_appeals", + inactivity: "inactivity_notices", report: "reports", }; const types: { [k: string]: string } = { appeal: "appeal", gma: "gameappeal", + inactivity: "inactivity", report: "report", }; const permissions: { [k: string]: number[] } = { appeal: [1 << 0, 1 << 1], gma: [1 << 5], + inactivity: [1 << 4, 1 << 6, 1 << 7, 1 << 11, 1 << 12], report: [1 << 5], }; const { current_user: currentUser } = context.data;