mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-21 07:01:23 +08:00
'update'
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user