There was an error while loading. Please reload this page.
2 parents 7f9f3c6 + f7dd9f5 commit ca8f4e2Copy full SHA for ca8f4e2
1 file changed
app/api/utils/lighthouse.py
@@ -206,10 +206,16 @@ def lighthouse_api(self) -> dict:
206
url=f'{settings.LIGHTHOUSE_ROOT}?{cats}',
207
params=params,
208
headers=headers
209
- ).json()
+ )
210
+
211
+ print(res)
212
213
+ res_json = res.json()
214
215
+ print(res_json)
216
217
# try to get just LH response
- res = res.get('lighthouseResult')
218
+ res = res_json.get('lighthouseResult')
219
220
# return response
221
return res
0 commit comments