Skip to content

Commit

Permalink
Merge b640262 into 7dd3043
Browse files Browse the repository at this point in the history
  • Loading branch information
eahefnawy committed Aug 20, 2018
2 parents 7dd3043 + b640262 commit 17fc119
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/plugins/platform/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ class Platform {
}
}
subscription.event = event.stream;
if (typeof event.stream === 'object') {
subscription.event.arn = JSON.stringify(event.stream.arn);
}
} else if (Object.keys(event)[0] === 's3') {
subscription = this.getS3Subscription(event.s3, fn);
} else if (Object.keys(event)[0] === 'schedule') {
Expand Down

0 comments on commit 17fc119

Please sign in to comment.