bugfix
This commit is contained in:
parent
1115e444cc
commit
2ab7930e08
@ -157,7 +157,11 @@ class UAPI:
|
||||
url = self.env.get('baseurl') + api.path
|
||||
method = api.httpmethod
|
||||
headers = await self.rendertmpl(api.headers)
|
||||
headers = json.loads(headers)
|
||||
try:
|
||||
headers = json.loads(headers)
|
||||
except Exception as e:
|
||||
exception(f'{e}, {headers=},{api.headers=}')
|
||||
raise e
|
||||
body = await self.rendertmpl(api.data)
|
||||
if body:
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user