Update server/model/status_page.js

Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Gero Gerke 2023-01-10 10:41:25 +01:00 committed by GitHub
parent 3dbc32b225
commit 1b5ea7d44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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