Skip to content

Commit af92730

Browse files
authored
Merge pull request #369 from rafrombrc/patch-2
Fix albums count
2 parents 19ca091 + b7ac92d commit af92730

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)