Skip to content

Commit 5140812

Browse files
committed
fix(MusicKitMusiService): offset is in songs, not pages
1 parent 7d8f002 commit 5140812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/Music/MusicKitMusicService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class MusicKitMusicService extends MusicService<MusicKitSong> {
236236
term,
237237
types: ["songs", "music-videos"],
238238
limit: 25,
239-
offset,
239+
offset: offset * 25 + 1,
240240
});
241241

242242
const songs = response?.data?.results?.songs?.data;

0 commit comments

Comments
 (0)