Skip to content

Commit 3b0edb3

Browse files
Changed default content-type to application/json for put request
1 parent 050bce2 commit 3b0edb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ export class GraphRequest {
595595
method: RequestMethod.PUT,
596596
body: serializeContent(content),
597597
headers: {
598-
"Content-Type": "application/octet-stream",
598+
"Content-Type": "application/json",
599599
},
600600
};
601601
try {

0 commit comments

Comments
 (0)