From f33d09918d9c4f0888b12c54b277c7e7a70a1463 Mon Sep 17 00:00:00 2001 From: Gero Gerke Date: Tue, 10 Jan 2023 10:41:04 +0100 Subject: [PATCH] Update server/model/group.js Co-authored-by: Matthew Nickson --- server/model/group.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/model/group.js b/server/model/group.js index 32e3cc39..596d2b0e 100644 --- a/server/model/group.js +++ b/server/model/group.js @@ -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) {