Skip to content

Commit

Permalink
Update bindings/aws/s3/s3.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: luigirende <luigirende@gmail.com>
Signed-off-by: luiren <luigirende@gmail.com>
Signed-off-by: luigirende <luigirende@gmail.com>
  • Loading branch information
luigirende and ItalyPaleAle committed Nov 8, 2023
1 parent 57360d2 commit 19bdb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/aws/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (s *AWSS3) create(ctx context.Context, req *bindings.InvokeRequest) (*bindi
Bucket: ptr.Of(metadata.Bucket),
Key: ptr.Of(key),
Body: r,
ContentType: ptr.Of(contentType),
ContentType: contentType,
})
if err != nil {
return nil, fmt.Errorf("s3 binding error: uploading failed: %w", err)
Expand Down

0 comments on commit 19bdb1e

Please sign in to comment.