Created
April 26, 2019 00:23
-
-
Save rosiegrant/0c4db703a2378c95bf7d5fa4c4f86d93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.handler = function(event, context, callback) { | |
svc.getCard({ | |
query: 'espp', | |
apikey: 'kEY' | |
}, (err, data) => { | |
if (err) { | |
console.log('whoops'); | |
return callback(err); | |
} | |
console.log(data); | |
return data; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment