diff --git a/README.MD b/README.MD index 37b236a..90f47b4 100644 --- a/README.MD +++ b/README.MD @@ -7,7 +7,8 @@ devDependencies -

+

+ ![](http://binaryify.github.io/images/api.jpg) ## Start diff --git a/src/component/getPlaylists.js b/src/component/getPlaylists.js index b0d1721..7c0d005 100644 --- a/src/component/getPlaylists.js +++ b/src/component/getPlaylists.js @@ -5,7 +5,7 @@ import { deepCopy } from '../util' const getPlaylists = (id, callback) => { const option = deepCopy(globalOption) const url = `${origin}/api/playlist/detail?id=${id}` - const method = 'get' + const method = 'GET' Object.assign(option, {url, method}) request(option, (err, res, body) => { if(!err && res.statusCode == 200) {