mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Fixed parameter encoding for GET requests.
This commit is contained in:
parent
6ba548e21e
commit
c5beab777f
@ -253,7 +253,7 @@
|
|||||||
|
|
||||||
// prepare final parameters
|
// prepare final parameters
|
||||||
var body = {};
|
var body = {};
|
||||||
if(bodyFormat == 'json') {
|
if(bodyFormat == 'json' && method != 'GET') {
|
||||||
body = unflattenDict(params);
|
body = unflattenDict(params);
|
||||||
body = JSON.stringify(body);
|
body = JSON.stringify(body);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user