Skip to content

Commit

Permalink
add content type header
Browse files Browse the repository at this point in the history
  • Loading branch information
XVincentX authored Dec 14, 2023
1 parent f3db3e9 commit 8b7ac01
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 8b7ac01

Please sign in to comment.