Skip to content

Commit 609a2e2

Browse files
fix s3 event type (CoorpAcademy#131)
1 parent cdb43a2 commit 609a2e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class S3Event {
2-
constructor(records) {
3-
this.Records = records;
2+
constructor(record) {
3+
this.Records = [record];
44
}
55
}
66
module.exports = S3Event;

0 commit comments

Comments
 (0)