fix:config

This commit is contained in:
手瓜一十雪
2024-05-08 18:45:45 +08:00
parent b09a189b0b
commit b83b51a48d
4 changed files with 11 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ class WebUiApiOB11ConfigWrapper {
'Authorization': "Bearer " + this.retCredential,
'Content-Type': 'application/json'
},
body: JSON.stringify(config)
body: JSON.stringify({ config: JSON.stringify(config) })
}
);
if (ConfigResponse.status == 200) {