Skip to content

Commit d651139

Browse files
committed
Fix: random button in genre #83
1 parent dbe32d4 commit d651139

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/screens/Pres/Genre.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const Genre = ({ route: { params: { name, albumCount = 0, songCount = 0 } } }) =
5858
}
5959

6060
const getRandomSongs = () => {
61-
getApiNetworkFirst(config, 'getRandomSongs', { genre: name, count: 50 })
61+
getApiNetworkFirst(config, 'getRandomSongs', { genre: name, size: 50 })
6262
.then((json) => {
6363
const songs = json.randomSongs?.song
6464
if (!songs) return

0 commit comments

Comments
 (0)