diff options
author | Joe Robinson <joe@lc8n.com> | 2018-03-06 12:42:10 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2018-03-06 12:42:10 +0000 |
commit | f9d2a5febe46836dc6c64f7dfd0c114391112a8d (patch) | |
tree | ce38006cbe66a11d155ba7967a9e70aebac148bc | |
parent | bb434d8aefbbcc969f956960ed0b7ce76baef346 (diff) |
Update handler.js
-rw-r--r-- | handler.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ const AWS = require('aws-sdk'); // eslint-disable-line import/no-extraneous-depe const s3 = new AWS.S3(); module.exports.save = (event, context, callback) => { + return event.Records[0].kinesis fetch(event.image_url) .then((response) => { if (response.ok) { |