This commit is contained in:
2026-06-06 03:26:00 +03:00
parent 34ab3189e0
commit 2328b16a65
+6
View File
@@ -171,9 +171,15 @@ export class Rt {
if (reqOpts.vars instanceof FormData) {
for (const [key, value] of reqOpts.vars.entries()) {
if (key.endsWith('[]')) {
fdata.append(key, value);
}
else {
fdata.set(key, value);
}
}
}
else {
Ut.each(reqOpts.vars, (val, key) => fdata.set(key, val));
}