From f7dd9f5531526f88cae37111ac87e39bf7068b52 Mon Sep 17 00:00:00 2001 From: Landon Date: Wed, 24 Dec 2025 15:57:26 -0700 Subject: [PATCH] debug: lh issues --- app/api/utils/lighthouse.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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