mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
'update'
This commit is contained in:
parent
2cf9868494
commit
07c5933e78
@ -8,6 +8,7 @@
|
||||
<a href="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi"><img src="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi/badges/gpa.svg" /></a>
|
||||
<a href="https://travis-ci.org/Binaryify/NeteaseCloudMusicApi"><img src="https://api.travis-ci.org/Binaryify/NeteaseCloudMusicApi.svg?branch=master" /></a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
## Start
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user