mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-19 12:04:48 -04:00
[status page] many update and save group list
This commit is contained in:
parent
6681f49a58
commit
fd95d41d9f
16 changed files with 288 additions and 127 deletions
|
@ -26,8 +26,10 @@ class Monitor extends BeanModel {
|
|||
* Only show necessary data to public
|
||||
*/
|
||||
async toPublicJSON() {
|
||||
// TODO Only show necessary
|
||||
return this.toJSON();
|
||||
return {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue