From c5c8a2f0cfb108d76ded817c4275a3c47e1a9221 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 18 Apr 2025 03:57:19 +0200 Subject: [PATCH] I thought we disabled prettier here smh --- static/webui/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/webui/script.js b/static/webui/script.js index 998a2438..f1960a01 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -1335,7 +1335,7 @@ single.getRoute("/webui/cheats").on("beforeload", function () { }) ); } else { - if (await res.text() == "Log-in expired") { + if ((await res.text()) == "Log-in expired") { revalidateAuthz(() => { single.loadRoute("/webui/cheats"); });