summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handler.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/handler.js b/handler.js
index 4f5c9cb..7eecd2b 100644
--- a/handler.js
+++ b/handler.js
@@ -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) {