forked from Adleraci/adlerka.top
Rewrite some stuff
This commit is contained in:
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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user