Skip to content

Commit 7ec57c6

Browse files
Added content type to put request
1 parent 03e530c commit 7ec57c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/GraphRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,9 @@ export class GraphRequest {
599599
const options: FetchOptions = {
600600
method: RequestMethod.PUT,
601601
body: serializeContent(content),
602+
headers: {
603+
"Content-Type": "application/octet-stream",
604+
},
602605
};
603606
try {
604607
const response = await this.send(url, options, callback);

0 commit comments

Comments
 (0)