From 0e6b031f0bf4a92393b38b69a3f978dee27a1656 Mon Sep 17 00:00:00 2001 From: alinarublea Date: Thu, 12 Oct 2023 11:35:48 +0200 Subject: [PATCH] feat: trigger audit from sqs message --- src/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.js b/src/index.js index f3f10f9d..543c522a 100644 --- a/src/index.js +++ b/src/index.js @@ -42,7 +42,6 @@ async function run(request, context) { isLive: message.isLive, updatedAt: uuid, }; - await db.saveSite(site); const auditResult = await psiClient.runAudit(`https://${site.domain}/${site.path}`); await db.saveAuditIndex(site, auditResult); return new Response('SUCCESS');