mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Update zp -> close import script to be more forgiving
This commit is contained in:
parent
f391030b44
commit
d85cfcaddf
1 changed files with 3 additions and 3 deletions
|
@ -232,10 +232,10 @@ function getZPContacts(done) {
|
|||
const emailContactMap = {};
|
||||
for (const contact of contacts) {
|
||||
if (!contact.organization || !contact.name || !contact.email) {
|
||||
console.log(JSON.stringify(contact, null, 2));
|
||||
return done(`DEBUG: missing data for zp contact:`);
|
||||
console.log(`DEBUG: missing data for zp contact ${contact.email}:`);
|
||||
// console.log(JSON.stringify(contact, null, 2));
|
||||
}
|
||||
if (!emailContactMap[contact.email]) {
|
||||
else if (!emailContactMap[contact.email]) {
|
||||
emailContactMap[contact.email] = contact;
|
||||
}
|
||||
// else {
|
||||
|
|
Loading…
Reference in a new issue