1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-20 20:11:39 +02:00

send url always because it's used in showLink

This commit is contained in:
Ryo Hanafusa 2024-10-28 11:33:40 +00:00
parent d3c3808dae
commit 061b549d16

View File

@ -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();
}