Update server/model/monitor.js

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

@ -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…
Cancel
Save