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