Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
fixing copy/paste typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Davey Moran committed Aug 25, 2015
1 parent 44c82fb commit 72a326e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/zen-etl/insert-users.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function registerUser(user, cb) {

var runQ = async.queue(function (account, cb) {
seneca.act('role:cd-salesforce,cmd:save_account', {userId: account.PlatformId__c, account: account}, function (err, res){
if(err) return cb(leadObj.PlatformId__c+": error saving salesforce account [ERROR]");
if(err) return cb(account.PlatformId__c+": error saving salesforce account [ERROR]");
if(!res) return cb(account.PlatformId__c+": error saving salesforce account [ERROR]");

return cb(account.PlatformId__c+": salesforce account sucessfully saved");
Expand Down

0 comments on commit 72a326e

Please sign in to comment.