Skip to content
Snippets Groups Projects
Commit 372f510a authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

...

parent 47324ee5
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ function call(pRef, js) {
if (!js.Method) {
if (js.Body) {
if (typeof js.Body != 'string' && typeof js.Body != 'Buffer' && !json) {
if (typeof js.Body != 'string' && typeof js.Body != 'Buffer' && !isJson) {
response.prepareError(pRef, js,
"Wrong type of Body. (Missing 'Json:true'?)");
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment