mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
🐛Fix inbound sales automation double callback
This commit is contained in:
parent
8fffc31fdc
commit
9c83418812
1 changed files with 1 additions and 2 deletions
|
@ -121,13 +121,12 @@ function upsertLeads(done) {
|
|||
if (err) return done(err);
|
||||
|
||||
updateCloseApiKeyMaps((err) => {
|
||||
if (err) return done(err);
|
||||
|
||||
// log('DEBUG: Updating contacts..');
|
||||
updateCloseLeads(contacts, (err) => {
|
||||
return done(err);
|
||||
});
|
||||
|
||||
return done(err);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue