mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-04 20:24:04 +00:00
Update server/model/monitor.js
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
f33d09918d
commit
3dbc32b225
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class Monitor extends BeanModel {
|
|||
/**
|
||||
* Return an object that ready to parse to JSON for public
|
||||
* Only show necessary data to public
|
||||
* @param {boolean} [includeStatus = false] Should the JSON include the status
|
||||
* @returns {Object}
|
||||
*/
|
||||
async toPublicJSON(showTags = false, includeStatus = false) {
|
||||
|
|
Loading…
Reference in a new issue