Skip to content

Commit

Permalink
Remove debug statement in server/routers/api-router.js
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
  • Loading branch information
Fallstop and Saibamen authored Oct 29, 2021
1 parent 0a2fec7 commit 3d97b08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/routers/api-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ router.get("/api/status-page/monitor-list", cache("5 minutes"), async (_request,
let list = await R.find("group", " public = 1 ORDER BY weight ");
for (let groupBean of list) {
let monitorGroup = await groupBean.toPublicJSON()
console.log("\n\nsettings", await getSettings("statusPage"))
if ((await getSettings("statusPage")).statusPageTags=="visible") {
monitorGroup.monitorList = await Promise.all(monitorGroup.monitorList.map( async (monitor)=>{
// Includes tags as an array in response, allows for tags to be displayed on public status page
Expand Down

0 comments on commit 3d97b08

Please sign in to comment.