From d30113758c9d2a7750ac4cc687ee98a811c7868c Mon Sep 17 00:00:00 2001 From: Ben Wheeler <wheeler.benjamin@gmail.com> Date: Mon, 8 Oct 2018 16:46:44 -0400 Subject: [PATCH] tiny clean up in api.js --- src/lib/api.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/api.js b/src/lib/api.js index 78691d2f8..4528db5b5 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, -- GitLab