mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 16:11:24 +08:00
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
categoryCode: query.cat || '1001',
|
||||
initial: (query.initial || '').toUpperCase().charCodeAt() || '',
|
||||
// initial: (query.initial || '').toUpperCase().charCodeAt() || '',
|
||||
initial: isNaN(query.initial) ? (query.initial || '').toUpperCase().charCodeAt() || undefined : query.initial,
|
||||
offset: query.offset || 0,
|
||||
limit: query.limit || 30,
|
||||
total: true
|
||||
|
||||
Reference in New Issue
Block a user