Feat/handle pagespeed (#448)

* Initial commit

* Prepare for pagespeed Check

* removed unused code, updated JSdoc

* reverted controller
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-07-25 14:59:31 -07:00
1 parent 7751a67372
commit 4071d6c97c
6 files changed
+50 -40

No files matched your search

@@ -58,7 +58,7 @@ const createPageSpeedCheck = async (req, res, next) => {
const categories = pageSpeedResults.lighthouseResult?.categories;
if (!categories) {
throw new Error('Categories not found in PageSpeed results');
throw new Error("Categories not found in PageSpeed results");
}
const newPageSpeedCheck = await pageSpeedService.createPageSpeedCheck({