mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-02 19:46:26 -04:00
[Status Page] wip, combine api, add status_page_id into group and incident tables
This commit is contained in:
parent
18ec42b060
commit
1033ca5cf4
6 changed files with 105 additions and 90 deletions
|
@ -41,6 +41,12 @@ class StatusPage extends BeanModel {
|
|||
};
|
||||
}
|
||||
|
||||
static async slugToID(slug) {
|
||||
return await R.getCell("SELECT id FROM status_page WHERE slug = ? ", [
|
||||
slug
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = StatusPage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue