File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
javascript-promise-es6/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,8 @@ class ApiClient {
443443 }
444444
445445 if ( contentType === 'application/x-www-form-urlencoded' ) {
446- request . send ( querystring . stringify ( this . normalizeParams ( formParams ) ) ) ;
446+ let queryString = querystring . stringify ( this . normalizeParams ( formParams ) ) ;
447+ request . send ( queryString ) ;
447448 } else if ( contentType == 'multipart/form-data' ) {
448449 var _formParams = this . normalizeParams ( formParams ) ;
449450 for ( var key in _formParams ) {
Original file line number Diff line number Diff line change @@ -435,7 +435,8 @@ class ApiClient {
435435 }
436436
437437 if ( contentType === 'application/x-www-form-urlencoded' ) {
438- request . send ( querystring . stringify ( this . normalizeParams ( formParams ) ) ) ;
438+ let queryString = querystring . stringify ( this . normalizeParams ( formParams ) ) ;
439+ request . send ( queryString ) ;
439440 } else if ( contentType == 'multipart/form-data' ) {
440441 var _formParams = this . normalizeParams ( formParams ) ;
441442 for ( var key in _formParams ) {
You can’t perform that action at this time.
0 commit comments