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