From 18673b2b33dfc40ad245c0bab6bf97a1939f906f Mon Sep 17 00:00:00 2001 From: Regalijan Date: Fri, 23 Aug 2024 02:46:43 -0400 Subject: [PATCH] Parse departments array --- functions/api/mod-queue/[type]/list.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/api/mod-queue/[type]/list.ts b/functions/api/mod-queue/[type]/list.ts index 4adac80..d87f9d7 100644 --- a/functions/api/mod-queue/[type]/list.ts +++ b/functions/api/mod-queue/[type]/list.ts @@ -68,6 +68,7 @@ export async function onRequestGet(context: RequestContext): Promise { rows.results.map((r) => { r.decisions = JSON.parse(r.decisions); + r.departments = JSON.parse(r.departments); r.user = JSON.parse(r.user); delete r.user.email;