diff --git a/src/mixins/service.js b/src/mixins/service.js index b4fd2ad..7051a8f 100644 --- a/src/mixins/service.js +++ b/src/mixins/service.js @@ -56,7 +56,7 @@ export default { throw new Error(`Ping: target not available (${response.status} error)`); } - return json ? response.json() : response; + return json ? response.json() : response.text(); }); }, },