diff --git a/server/model/monitor.js b/server/model/monitor.js index 8c39469a..c5d2dc70 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -49,13 +49,10 @@ class Monitor extends BeanModel { id: this.id, name: this.name, sendUrl: !!this.sendUrl, + url: this.url, type: this.type, }; - if (this.sendUrl) { - obj.url = this.url; - } - if (showTags) { obj.tags = await this.getTags(); }