Skip to content

Commit

Permalink
feat: allow setting contentEncoding during compose
Browse files Browse the repository at this point in the history
  • Loading branch information
zuozp8 authored and eforks committed Mar 26, 2024
1 parent 36d2721 commit 2d458db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1658,6 +1658,7 @@ class Bucket extends ServiceObject<Bucket, BucketMetadata> {
json: {
destination: {
contentType: destinationFile.metadata.contentType,
contentEncoding: destinationFile.metadata.contentEncoding,
},
sourceObjects: (sources as File[]).map(source => {
const sourceObject = {
Expand Down

0 comments on commit 2d458db

Please sign in to comment.