Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Parse departments array
  • Loading branch information
regalijan committed Aug 23, 2024
1 parent 73e68f7 commit 18673b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/api/mod-queue/[type]/list.ts
Expand Up @@ -68,6 +68,7 @@ export async function onRequestGet(context: RequestContext): Promise<any> {

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;
Expand Down

0 comments on commit 18673b2

Please sign in to comment.