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