From f95bffde67524650e50665a70b946341e35e0646 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 30 Sep 2024 17:10:33 +0200 Subject: [PATCH] Chore: const --- scripts/studioServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/studioServer.ts b/scripts/studioServer.ts index d5d97eff3..975ea5b79 100644 --- a/scripts/studioServer.ts +++ b/scripts/studioServer.ts @@ -147,7 +147,7 @@ http.createServer(async (req: http.IncomingMessage, res) => { console.log("URL pathname is") if (url.pathname.endsWith("overview")) { console.log("Giving overview") - let userId = url.searchParams.get("userId") + const userId = url.searchParams.get("userId") const allFiles = ScriptUtils.readDirRecSync(STATIC_PATH) .filter( (p) =>