Skip to content
Snippets Groups Projects
Commit d3011375 authored by Ben Wheeler's avatar Ben Wheeler
Browse files

tiny clean up in api.js

parent eaddf37f
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment