mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 20:17:55 +08:00
[Status Page] wip, combine api, add status_page_id into group and incident tables
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user