mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-02 19:58:44 +05:00
fix: restore settings on portal fixed
This commit is contained in:
1 parent
ed50208546
commit
99d82657c0
1 file changed
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user