Update server/routers/api-router.js

Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
pull/1213/head
Karel Krýda 3 years ago committed by GitHub
parent 25262cfb91
commit 6d0683b055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {
try {
const publicMaintenanceList = [];

Loading…
Cancel
Save