minor: improve formatting

This commit is contained in:
Louis Lam 2021-12-08 15:04:18 +08:00
parent dcc91d6c72
commit d4bfe57b79

View file

@ -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
};
})); }));
} }