Skip to content

Instantly share code, notes, and snippets.

@rosiegrant
Created April 26, 2019 00:23
Show Gist options
  • Save rosiegrant/0c4db703a2378c95bf7d5fa4c4f86d93 to your computer and use it in GitHub Desktop.
Save rosiegrant/0c4db703a2378c95bf7d5fa4c4f86d93 to your computer and use it in GitHub Desktop.
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