Skip to content

Commit

Permalink
fix: add content type header (#4587)
Browse files Browse the repository at this point in the history
  • Loading branch information
XVincentX authored Jan 18, 2024
1 parent 20c0c2f commit 95f6f80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/botbuilder-azure-blobs/src/blobsStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export class BlobsStorage implements Storage {

return blob.upload(serialized, serialized.length, {
conditions: typeof eTag === 'string' && eTag !== '*' ? { ifMatch: eTag } : {},
blobHTTPHeaders: { blobContentType: 'application/json' },
});
},
{
Expand Down

0 comments on commit 95f6f80

Please sign in to comment.