Skip to content

Commit

Permalink
minor: improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Dec 8, 2021
1 parent dcc91d6 commit d4bfe57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/routers/api-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ router.get("/api/status-page/monitor-list", cache("5 minutes"), async (_request,
ON monitor_tag.tag_id = tag.id
WHERE monitor_tag.monitor_id = ?`, [monitor.id]
);
return { ...monitor,
tags: tags };
return {
...monitor,
tags: tags
};
}));
}

Expand Down

0 comments on commit d4bfe57

Please sign in to comment.