Skip to content

Commit

Permalink
feat: audit step in forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Kumar Singh committed Feb 25, 2025
1 parent 2aa2b92 commit 1c1b9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forms-opportunities/opportunityHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default async function convertToOpportunity(auditUrl, auditData, scrapedD
return false; // Skip invalid form entries
}

const urlMatches = form.finalUrl === opportunity?.url;
const urlMatches = form.finalUrl === opportunity?.form;
const isSearchForm = Array.isArray(form.scrapeResult)
&& form.scrapeResult.some((result) => result?.formType === 'search');

Expand Down

0 comments on commit 1c1b9e9

Please sign in to comment.