Skip to content

Commit

Permalink
fix(pipelines): fix local media ACL [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed Nov 18, 2020
1 parent 53563e8 commit 6fa3160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const uploadFile = function({ bucket, localPath, remotePath, acl }) {
Key: remotePath,
Body: readStream
};
if (acl) params.acl = acl;
if (acl) params.ACL = acl;

return new Promise((resolve, reject) => {
s3.upload(params, function(err, data) {
Expand Down

0 comments on commit 6fa3160

Please sign in to comment.