From e68265c0a49cbdca20bb218ad6fe481cdd318fab Mon Sep 17 00:00:00 2001 From: Hugo Mercado Date: Wed, 7 Feb 2024 17:39:49 -0500 Subject: [PATCH] use URLSearchParams instead of url.URLSeachParams --- .../src/main/resources/typescript-fetch/api.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-codegen/src/main/resources/typescript-fetch/api.mustache b/modules/swagger-codegen/src/main/resources/typescript-fetch/api.mustache index bcdb03acf2c..4a34ac44adb 100644 --- a/modules/swagger-codegen/src/main/resources/typescript-fetch/api.mustache +++ b/modules/swagger-codegen/src/main/resources/typescript-fetch/api.mustache @@ -106,7 +106,7 @@ export const {{classname}}FetchParamCreator = function (configuration?: Configur const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; {{#hasFormParams}} - const localVarFormParams = new url.URLSearchParams(); + const localVarFormParams = new URLSearchParams(); {{/hasFormParams}} {{#authMethods}}