From 5b0d17459eaf061c41e607febead08b95aba95ec Mon Sep 17 00:00:00 2001 From: Luke Thomas <96008479+Zoobdude@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:35:37 +0000 Subject: [PATCH] Lint --- server/routers/status-page-router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routers/status-page-router.js b/server/routers/status-page-router.js index 412662003..893f57564 100644 --- a/server/routers/status-page-router.js +++ b/server/routers/status-page-router.js @@ -150,7 +150,7 @@ router.get("/api/status-page/:slug/manifest.json", cache("1440 minutes"), async // overall status-page status badge router.get("/api/status-page/:slug/badge", cache("5 minutes"), async (request, response) => { allowDevAllOrigin(response); - const slug = request.params.slug; + let slug = request.params.slug; slug = slug.toLowerCase(); const statusPageID = await StatusPage.slugToID(slug); const {