diff --git a/app/api/utils/lighthouse.py b/app/api/utils/lighthouse.py index 252c8cb..47a44e8 100644 --- a/app/api/utils/lighthouse.py +++ b/app/api/utils/lighthouse.py @@ -206,10 +206,16 @@ def lighthouse_api(self) -> dict: url=f'{settings.LIGHTHOUSE_ROOT}?{cats}', params=params, headers=headers - ).json() + ) + + print(res) + + res_json = res.json() + + print(res_json) # try to get just LH response - res = res.get('lighthouseResult') + res = res_json.get('lighthouseResult') # return response return res