Skip to content

Commit 36b0cc9

Browse files
nikithauczengin
andauthored
Adding the missing return
Co-authored-by: Mustafa Zengin <muzengin@microsoft.com>
1 parent 1f342bf commit 36b0cc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GraphRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ export class GraphRequest {
312312
private setHeaderContentType(): void {
313313
if (!this._headers) {
314314
this.header("Content-Type", "application/json");
315+
return;
315316
}
316317
let isContentTypePresent = false;
317318
const headerKeys = Object.keys(this._headers);

0 commit comments

Comments
 (0)