mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-04 20:24:04 +00:00
Update server/model/status_page.js
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
3dbc32b225
commit
1b5ea7d44e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue