mail check
This commit is contained in:
parent
5d954e216f
commit
8da74dad15
@ -1715,10 +1715,10 @@ exports.establishmentBulkUpload = async (req, res) => {
|
|||||||
errors.push({ row: rowNum, error: `Factory Name already exists: ${factory}` });
|
errors.push({ row: rowNum, error: `Factory Name already exists: ${factory}` });
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (existingEmailSet.has(emailKey)) {
|
// if (existingEmailSet.has(emailKey)) {
|
||||||
errors.push({ row: rowNum, error: `Email already exists: ${email}` });
|
// errors.push({ row: rowNum, error: `Email already exists: ${email}` });
|
||||||
continue;
|
// continue;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Emirate validation
|
// Emirate validation
|
||||||
const emirateId = emirateMap[emirate.toLowerCase()];
|
const emirateId = emirateMap[emirate.toLowerCase()];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user