Skip to content

Commit

Permalink
feat: trigger audit from sqs message
Browse files Browse the repository at this point in the history
  • Loading branch information
alinarublea committed Oct 12, 2023
1 parent 3efeef5 commit 0e6b031
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 0e6b031

Please sign in to comment.