Update server/model/group.js

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

@ -7,6 +7,7 @@ class Group extends BeanModel {
* Return an object that ready to parse to JSON for public
* Only show necessary data to public
* @param {boolean} [showTags=false] Should the JSON include monitor tags
* @param {boolean} [showStatus = false] Should the JSON include the status
* @returns {Object}
*/
async toPublicJSON(showTags = false, showStatus = false) {

Loading…
Cancel
Save