diff options
-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) { |