Skip to content

Commit

Permalink
null emails fix
Browse files Browse the repository at this point in the history
  • Loading branch information
epipav committed Jan 3, 2024
1 parent 7c4997e commit d04b25a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export async function getMergeSuggestions(
if (member.string_arr_emails && member.string_arr_emails.length > 0) {
identitiesPartialQuery.should.push({
terms: {
keyword_emails: member.string_arr_emails,
keyword_emails: member.string_arr_emails.map((email: string) => email && email !== null),
},
})
}
Expand Down

0 comments on commit d04b25a

Please sign in to comment.