Resolve log message null reference

This commit is contained in:
Louis Lam
2022-04-12 16:57:22 +08:00
parent 9ec29c1bc4
commit 94770cf865
2 changed files with 11 additions and 11 deletions

View File

@@ -124,7 +124,7 @@ router.get("/api/status-page/:slug", cache("5 minutes"), async (request, respons
// Public Group List
const publicGroupList = [];
const showTags = !!statusPage.show_tags;
debug("Show Tags???" + showTags);
const list = await R.find("group", " public = 1 AND status_page_id = ? ORDER BY weight ", [
statusPage.id
]);