From 3dbc32b225aaf64f843680bbf83486e952a85bc8 Mon Sep 17 00:00:00 2001 From: Gero Gerke Date: Tue, 10 Jan 2023 10:41:18 +0100 Subject: [PATCH] Update server/model/monitor.js Co-authored-by: Matthew Nickson --- server/model/monitor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/model/monitor.js b/server/model/monitor.js index 763763fed..c130dce96 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -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) {