Feat/handle pagespeed (#448)
* Initial commit * Prepare for pagespeed Check * removed unused code, updated JSdoc * reverted controller
This commit is contained in:
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({
|
||||
|
||||
Reference in new issue
Block a user