Added content type to S3 upload call
This commit is contained in:
parent
aab2205e62
commit
307699af4c
|
@ -93,6 +93,7 @@ func Create(ctx context.Context, dbConn db.ConnOrTx, in CreateInput) (*models.As
|
|||
Key: &key,
|
||||
Body: bytes.NewReader(in.Content),
|
||||
ACL: types.ObjectCannedACLPublicRead,
|
||||
ContentType: &in.ContentType,
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue