Skip to content

Commit

Permalink
fix: kuwo search result total
Browse files Browse the repository at this point in the history
  • Loading branch information
listen1 committed Apr 1, 2024
1 parent 52ead6b commit 73f7580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/provider/kuwo.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class kuwo {
result = response.data.abslist.map((item) =>
this.kw_convert_song3(item)
);
total = response.data.abslist.length;
total = parseInt(response.data.HIT);
} else if (searchType === '1' && response.data.data !== undefined) {
result = response.data.data.list.map((item) => ({
id: `kwplaylist_${item.id}`,
Expand Down

0 comments on commit 73f7580

Please sign in to comment.