-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,7 +259,7 @@ class StatusPage extends BeanModel { | |
* Get all status page data in one call | ||
* @param {StatusPage} statusPage | ||
Check warning on line 260 in server/model/status_page.js GitHub Actions / check-linters
|
||
* @param {boolean} [includeStatus = false] whether each monitor should include the status of the monitor ("up" or "down") | ||
Check failure on line 261 in server/model/status_page.js GitHub Actions / check-linters
|
||
* @param {boolean} [includeConfig = true] whether the config for the status paghe should be included in the returned JSON | ||
* @param {boolean} [includeConfig = true] whether the config for the status page should be included in the returned JSON | ||
Check failure on line 262 in server/model/status_page.js GitHub Actions / check-linters
|
||
*/ | ||
static async getStatusPageData(statusPage, includeStatus = false, includeConfig = true) { | ||
// Incident | ||
|
@@ -282,7 +282,7 @@ class StatusPage extends BeanModel { | |
]); | ||
|
||
for (let groupBean of list) { | ||
let monitorGroup = await groupBean.toPublicJSON(showTags, includeStatus); | ||
let monitorGroup = await groupBean.toPublicJSON(showTags, false, includeStatus); | ||
publicGroupList.push(monitorGroup); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters