Skip to content

Commit 55ebf29

Browse files
committed
use URLsearchParams class from nodejs api to fix error.
1 parent a331926 commit 55ebf29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/handlebars/typescript-fetch/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const {{classname}}FetchParamCreator = function (configuration?: Configur
106106
const localVarHeaderParameter = {} as any;
107107
const localVarQueryParameter = {} as any;
108108
{{#hasFormParams}}
109-
const localVarFormParams = new url.URLSearchParams();
109+
const localVarFormParams = new URLSearchParams();
110110
{{/hasFormParams}}
111111
112112
{{#authMethods}}

0 commit comments

Comments
 (0)