mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-11-08 00:26:11 +08:00
convert sendUrl number -> boolean in toPublicJSON
This commit is contained in:
@@ -48,7 +48,7 @@ class Monitor extends BeanModel {
|
||||
let obj = {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
sendUrl: this.sendUrl,
|
||||
sendUrl: !!this.sendUrl,
|
||||
type: this.type,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user