Skip to content

Instantly share code, notes, and snippets.

@SamVerschueren
Created April 22, 2017 11:15
Show Gist options
  • Save SamVerschueren/a9d22a6618193692462ffc5c8d183075 to your computer and use it in GitHub Desktop.
Save SamVerschueren/a9d22a6618193692462ffc5c8d183075 to your computer and use it in GitHub Desktop.
sqs-push
module.exports = (message, queueName, options) => {
options = Object.assign({
awsAccountId: process.env.AWS_ACCOUNT_ID
}, options);
if (!message) {
return Promise.reject(new TypeError('Please provide a message'));
}
// All the rest
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment