Update server/model/group.js

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

View file

@ -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) {