Rewrite some stuff

This commit is contained in:
Bruno Rybársky 2024-04-26 15:00:18 +02:00
parent c41e3c2049
commit 8177d33304

@ -45,7 +45,7 @@ async function showDashboardGreeting() {
async function doAction(url, requestData, successMessage, failureMessage, silent) { async function doAction(url, requestData, successMessage, failureMessage, silent) {
"use strict"; "use strict";
const params = new URLSearchParams(); const params = new FormData();
for (const key in requestData) { for (const key in requestData) {
params.append(key, requestData[key]); params.append(key, requestData[key]);