mirror of https://github.com/louislam/uptime-kuma
Update server/routers/api-router.js
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>pull/1213/head
parent
25262cfb91
commit
6d0683b055
|
@ -160,7 +160,11 @@ router.get("/api/status-page/:slug", cache("5 minutes"), async (request, respons
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Status Page - Maintenance List
|
/**
|
||||||
|
* Get list of maintenances
|
||||||
|
* @param {number} statusPageId ID of status page to get maintenance for
|
||||||
|
* @returns {Object} Object representing maintenances sanitized for public
|
||||||
|
*/
|
||||||
async function getMaintenanceList(statusPageId) {
|
async function getMaintenanceList(statusPageId) {
|
||||||
try {
|
try {
|
||||||
const publicMaintenanceList = [];
|
const publicMaintenanceList = [];
|
||||||
|
|
Loading…
Reference in New Issue