mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-02 00:10:42 +02:00
send url always because it's used in showLink
This commit is contained in:
parent
d3c3808dae
commit
061b549d16
@ -49,13 +49,10 @@ class Monitor extends BeanModel {
|
|||||||
id: this.id,
|
id: this.id,
|
||||||
name: this.name,
|
name: this.name,
|
||||||
sendUrl: !!this.sendUrl,
|
sendUrl: !!this.sendUrl,
|
||||||
|
url: this.url,
|
||||||
type: this.type,
|
type: this.type,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.sendUrl) {
|
|
||||||
obj.url = this.url;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (showTags) {
|
if (showTags) {
|
||||||
obj.tags = await this.getTags();
|
obj.tags = await this.getTags();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user