mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 16:46:57 +00:00
fix Webui function bug
This commit is contained in:
parent
e1ceb52dda
commit
c3c75ee841
@ -59,7 +59,7 @@ class IndexView(LoginRequiredMixin, FormView):
|
||||
urlpath = '/management/webui_props'
|
||||
payload = {
|
||||
"name":"webui_api_explorer_url",
|
||||
"value" : str(data["webui_props"]).replace("\n", "\\n").replace("\"", '\\"')
|
||||
"value" : data["webui_props"]
|
||||
}
|
||||
result = self.api.post(urlpath, payload=payload)
|
||||
except APIError as err:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user