Created
April 30, 2018 22:38
-
-
Save pbzona/5311277b5eca3b8f8bd1dd3cb9b303ea to your computer and use it in GitHub Desktop.
Serverless Weather pt 5
This file contains hidden or 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
SNS.publish(params, (err, data) => { | |
if (err) { | |
console.log(err.stack); | |
callback(err); | |
} | |
callback(null, data); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment