Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
修复cookie没返回的问题 #778
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed May 19, 2020
1 parent ceb9911 commit 251e14b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 更新日志
### 3.31.1 | 2020.05.19
- 修复`cookie`没返回的问题 [#778](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/778)

### 3.31.0 | 2020.05.18
- 支持 `Node.js` 调用,参考`module_example` 文件夹下的 `test.js`

Expand Down
3 changes: 2 additions & 1 deletion module/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ module.exports = async (query, request) => {
body: {
...result.body,
cookie: result.cookie.join(';')
}
},
cookie: result.cookie
}
}
return result
Expand Down
3 changes: 2 additions & 1 deletion module/login_cellphone.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module.exports = async (query, request) => {
body: {
...result.body,
cookie: result.cookie.join(';')
}
},
cookie: result.cookie
}
}
return result
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "3.31.0",
"version": "3.31.1",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
Expand Down

0 comments on commit 251e14b

Please sign in to comment.