lowercase response emails
This commit is contained in:
parent
2991d05d5b
commit
557dbc89cf
|
@ -316,7 +316,7 @@ const searchExistingEmails = async (emails: string[]) => {
|
|||
const existingAccounts = await getExistingAccounts(emails)
|
||||
matchedEmails.push(...existingAccounts.map(account => account.email))
|
||||
|
||||
return [...new Set(matchedEmails)]
|
||||
return [...new Set(matchedEmails.map(email => email.toLowerCase()))]
|
||||
}
|
||||
|
||||
export const bulkCreate = async (
|
||||
|
|
Loading…
Reference in New Issue