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 and Tracy Boehrer committed Jan 24, 2024
1 parent 18edf17 commit f597523
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 f597523

Please sign in to comment.