fix: restore settings on portal fixed

This commit is contained in:
Yurii
2024-11-11 12:54:23 +03:00
parent ed50208546
commit 99d82657c0

View File

@@ -314,7 +314,7 @@ const setupRestoreBackupForm = (formSelector) => {
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(data.network)
body: JSON.stringify({"network": data.network})
});
if (!response.ok) {
@@ -330,7 +330,7 @@ const setupRestoreBackupForm = (formSelector) => {
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(data.settings)
body: JSON.stringify({"settings": data.settings})
});
if (!response.ok) {