From 8177d33304cee9ab6046241f2e2ba224c10d1782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 26 Apr 2024 15:00:18 +0200 Subject: [PATCH] Rewrite some stuff --- assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/script.js b/assets/script.js index 2025b61..72c45d6 100644 --- a/assets/script.js +++ b/assets/script.js @@ -45,7 +45,7 @@ async function showDashboardGreeting() { async function doAction(url, requestData, successMessage, failureMessage, silent) { "use strict"; - const params = new URLSearchParams(); + const params = new FormData(); for (const key in requestData) { params.append(key, requestData[key]);