mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00
fix: lint error
This commit is contained in:
parent
50ab628751
commit
7eccaa2c07
@ -28,10 +28,12 @@ module.exports = async (query, request) => {
|
||||
// 上传
|
||||
const objectKey = tokenRes.body.result.objectKey.replace('/', '%2F')
|
||||
try {
|
||||
const lbs = (await axios({
|
||||
method: 'get',
|
||||
url: `https://wanproxy.127.net/lbs?version=1.0&bucketname=${bucket}`,
|
||||
})).data;
|
||||
const lbs = (
|
||||
await axios({
|
||||
method: 'get',
|
||||
url: `https://wanproxy.127.net/lbs?version=1.0&bucketname=${bucket}`,
|
||||
})
|
||||
).data
|
||||
await axios({
|
||||
method: 'post',
|
||||
url: `http://${lbs.upload[0]}/${bucket}/${objectKey}?offset=0&complete=true&version=1.0`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user