diff --git a/events/s3.go b/events/s3.go index bb944d2c..471f4121 100644 --- a/events/s3.go +++ b/events/s3.go @@ -47,7 +47,7 @@ type S3Bucket struct { type S3Object struct { Key string `json:"key"` - Size int64 `json:"size"` + Size int64 `json:"size,omitempty"` URLDecodedKey string `json:"urlDecodedKey"` VersionID string `json:"versionId"` ETag string `json:"eTag"`