minor: improve formatting

pull/1017/head
Louis Lam 3 years ago
parent dcc91d6c72
commit d4bfe57b79

@ -153,8 +153,10 @@ router.get("/api/status-page/monitor-list", cache("5 minutes"), async (_request,
ON monitor_tag.tag_id = tag.id ON monitor_tag.tag_id = tag.id
WHERE monitor_tag.monitor_id = ?`, [monitor.id] WHERE monitor_tag.monitor_id = ?`, [monitor.id]
); );
return { ...monitor, return {
tags: tags }; ...monitor,
tags: tags
};
})); }));
} }

Loading…
Cancel
Save