Compare commits
2 Commits
44b8c70521
...
b7883325a9
Author | SHA1 | Date |
---|---|---|
Tyler Goodlet | b7883325a9 | |
Tyler Goodlet | 37ca081555 |
|
@ -305,9 +305,10 @@ class Client:
|
||||||
headers=headers,
|
headers=headers,
|
||||||
)
|
)
|
||||||
json: dict = res.json()
|
json: dict = res.json()
|
||||||
if data := json.get('data'):
|
if (data := json.get('data')) is not None:
|
||||||
return data
|
return data
|
||||||
else:
|
else:
|
||||||
|
api_url: str = self._http.base_url
|
||||||
log.error(
|
log.error(
|
||||||
f'Error making request to {api_url} ->\n'
|
f'Error making request to {api_url} ->\n'
|
||||||
f'{pformat(res)}'
|
f'{pformat(res)}'
|
||||||
|
|
Loading…
Reference in New Issue