mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 16:46:57 +00:00
tweaked the webui_api_explorer_url->webui_sandbox_introductions
and remove the replace
This commit is contained in:
parent
2f527752e3
commit
f3b7cd488f
@ -58,8 +58,8 @@ class IndexView(LoginRequiredMixin, FormView):
|
||||
data = form.cleaned_data
|
||||
urlpath = '/management/webui_props'
|
||||
payload = {
|
||||
"name":"webui_api_explorer_url",
|
||||
"value" : str(data["webui_props"]).replace("\n", "\\n").replace("\"", '\\"')
|
||||
"name":"webui_sandbox_introductions",
|
||||
"value" : str(data["webui_props"])
|
||||
}
|
||||
result = self.api.post(urlpath, payload=payload)
|
||||
except APIError as err:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user