diff --git a/src/http/client/jsonp.js b/src/http/client/jsonp.js index 241e7b40..c2e2d04e 100644 --- a/src/http/client/jsonp.js +++ b/src/http/client/jsonp.js @@ -28,7 +28,7 @@ export default function (request) { }; window[callback] = result => { - body = JSON.stringify(result); + body = typeof result === 'string' ? result : JSON.stringify(result); }; request.abort = () => {