Update server/model/status_page.js

Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
pull/1927/head
Gero Gerke 2 years ago committed by GitHub
parent 3dbc32b225
commit 1b5ea7d44e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,8 +80,8 @@ class StatusPage extends BeanModel {
/**
* Get all status page data in one call
* @param {StatusPage} statusPage
* @param {boolean} includeStatus whether each monitor should include the status of the monitor ("up" or "down")
* @param {boolean} includeConfig whether the config for the status paghe should be included in the returned JSON
* @param {boolean} [includeStatus = false] whether each monitor should include the status of the monitor ("up" or "down")
* @param {boolean} [includeConfig = true] whether the config for the status paghe should be included in the returned JSON
*/
static async getStatusPageData(statusPage, includeStatus = false, includeConfig = true) {
// Incident

Loading…
Cancel
Save