Skip to content

Instantly share code, notes, and snippets.

@BrianOstrander
Created March 2, 2015 20:09
Show Gist options
  • Save BrianOstrander/f78f9fc427c9099e6700 to your computer and use it in GitHub Desktop.
Save BrianOstrander/f78f9fc427c9099e6700 to your computer and use it in GitHub Desktop.
for (var i = 0; i < missingTokens.length; i++) {
accountModel.createEndpoint(missingTokens[i], function(err, endpointArn) {
if (err) {
callback(err);
} else {
allEndpoints[allEndpoints.length] = endpointArn;
}
});
}
callback();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment