Skip to content

Commit ce571b4

Browse files
committed
fix(enrichments): accept both Dropcontact verified-address labels
1 parent 2ba6ad9 commit ce571b4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/sim/enrichments/work-email/work-email.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,9 @@ export const workEmailEnrichment: EnrichmentConfig = {
188188
const email = str(output.email)
189189
return email ? { email } : null
190190
},
191-
// Dropcontact's qualification labels are French: `nominatif@pro` is a verified work address.
192-
isVerified: (output) => output.qualification === 'nominatif@pro',
191+
// The live API labels a verified work address `nominatif@pro`; its docs say `nominative@pro`.
192+
isVerified: (output) =>
193+
output.qualification === 'nominatif@pro' || output.qualification === 'nominative@pro',
193194
}),
194195
toolProvider({
195196
id: 'enrow',

0 commit comments

Comments
 (0)