We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c333b commit 2ebf666Copy full SHA for 2ebf666
src/GraphRequestUtil.ts
@@ -41,7 +41,7 @@ export const urlJoin = (urlSegments: string[]): string => {
41
*/
42
43
export const serializeContent = (content: any): any => {
44
- const className: string = content === undefined ? null : content.constructor.name;
+ const className: string = content === undefined ? undefined : content.constructor.name;
45
if (className === "Buffer" || className === "Blob" || className === "File" || className === "FormData" || typeof content === "string") {
46
return content;
47
}
0 commit comments