Skip to content

Commit b7ac92d

Browse files
authored
Fix albums count
`albums_paginated` was using `get_artists_count` instead of `get_albums_count`
1 parent 19ca091 commit b7ac92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidalapi/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def albums_paginated(
618618
:param order_direction: Optional; A :class:`OrderDirection` describing the ordering direction when sorting by `order`. eg.: "ASC", "DESC"
619619
:return: A :class:`list` :class:`~tidalapi.album.Album` objects containing the favorite albums.
620620
"""
621-
count = self.session.user.favorites.get_artists_count()
621+
count = self.session.user.favorites.get_albums_count()
622622
return get_items(
623623
self.session.user.favorites.albums, count, order, order_direction
624624
)

0 commit comments

Comments
 (0)