diff --git a/src/lib/api.js b/src/lib/api.js index 78691d2f822fc92a001a7c82bf3c5a21f82eb2d1..4528db5b5089f24b98600751e4b70f50a88e6a03 100644 --- a/src/lib/api.js +++ b/src/lib/api.js @@ -3,9 +3,7 @@ import xhr from 'xhr'; const api = (options, token, callback) => { defaultsdeep(options, { - host: 'https://api.scratch.mit.edu', - headers: {}, - responseType: 'json' + host: 'https://api.scratch.mit.edu' }); defaultsdeep(options, { uri: options.host + options.path,