Fix import backup file request (#326)

The file wasn't send correctly due to converting it to a string.
This commit is contained in:
schroda
2023-06-04 00:32:08 +02:00
committed by GitHub
parent eaa8392789
commit 207a87f3e9

View File

@@ -215,7 +215,7 @@ export class RequestManager {
data = new FormData();
Object.entries(formData).forEach(([key, value]) => {
if (value !== undefined) data.append(key, `${value}`);
if (value !== undefined) data.append(key, value); // "append" automatically converts non string or blob values to strings
});
}