mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2026-05-06 13:39:31 -05:00
adjust recently played offset to actually let us see more of our recently played artists
This commit is contained in:
@@ -62,7 +62,7 @@ export function fetchRecentlyPlayed(limit: number = QueryConfig.limits.recents,
|
||||
}
|
||||
|
||||
export function fetchRecentlyPlayedArtists(limit: number = QueryConfig.limits.recents, offset?: number | undefined) : Promise<BaseItemDto[]> {
|
||||
return fetchRecentlyPlayed(limit * 2, offset)
|
||||
return fetchRecentlyPlayed(limit * 2, offset ? offset + 10 : undefined)
|
||||
.then((tracks) => {
|
||||
return getItemsApi(Client.api!)
|
||||
.getItems({
|
||||
|
||||
Reference in New Issue
Block a user