mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-10 12:18:31 -04:00
[status page] developing
This commit is contained in:
parent
f47f7758f9
commit
e205adfd7b
5 changed files with 69 additions and 5 deletions
|
@ -20,6 +20,19 @@ const version = require("../../package.json").version;
|
|||
* 2 = PENDING
|
||||
*/
|
||||
class Monitor extends BeanModel {
|
||||
|
||||
/**
|
||||
* Return a object that ready to parse to JSON for public
|
||||
* Only show necessary data to public
|
||||
*/
|
||||
async toPublicJSON() {
|
||||
// TODO Only show necessary
|
||||
return this.toJSON();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a object that ready to parse to JSON
|
||||
*/
|
||||
async toJSON() {
|
||||
|
||||
let notificationIDList = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue