Skip to content

Commit 3ef59bc

Browse files
committed
Return body as string instead of URLSearchParams
Returning the raw URLSearchParams object causes some issues in different environments than node/browser
1 parent 146dc3c commit 3ef59bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client-core/src/bodySerializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ export const urlSearchParamsBodySerializer = {
7979
}
8080
});
8181

82-
return data;
82+
return data.toString();
8383
},
8484
};

0 commit comments

Comments
 (0)