mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-10 18:24:27 +05:00
fix: restore settings on portal fixed
This commit is contained in:
@@ -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