File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
templates/base/http-clients Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export class HttpClient<SecurityDataType = unknown> {
103
103
requestParams.headers.post = {};
104
104
requestParams.headers.put = {};
105
105
106
- const formData = this.createFormData(body as Record<string, unknown>);
106
+ body = this.createFormData(body as Record<string, unknown>);
107
107
}
108
108
109
109
return this.instance.request({
Original file line number Diff line number Diff line change @@ -1547,7 +1547,7 @@ export class HttpClient<SecurityDataType = unknown> {
1547
1547
requestParams . headers . post = { } ;
1548
1548
requestParams . headers . put = { } ;
1549
1549
1550
- const formData = this . createFormData ( body as Record < string , unknown > ) ;
1550
+ body = this . createFormData ( body as Record < string , unknown > ) ;
1551
1551
}
1552
1552
1553
1553
return this . instance . request ( {
Original file line number Diff line number Diff line change @@ -1547,7 +1547,7 @@ export class HttpClient<SecurityDataType = unknown> {
1547
1547
requestParams . headers . post = { } ;
1548
1548
requestParams . headers . put = { } ;
1549
1549
1550
- const formData = this . createFormData ( body as Record < string , unknown > ) ;
1550
+ body = this . createFormData ( body as Record < string , unknown > ) ;
1551
1551
}
1552
1552
1553
1553
return this . instance . request ( {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export class HttpClient {
34
34
requestParams . headers . common = { Accept : "*/*" } ;
35
35
requestParams . headers . post = { } ;
36
36
requestParams . headers . put = { } ;
37
- const formData = this . createFormData ( body ) ;
37
+ body = this . createFormData ( body ) ;
38
38
}
39
39
return this . instance . request ( {
40
40
...requestParams ,
You can’t perform that action at this time.
0 commit comments