fix duplicate albums with date = 0

This commit is contained in:
mungai-njoroge
2023-06-26 13:17:24 +03:00
parent dbfa395207
commit 1cf5d38a96
3 changed files with 11 additions and 5 deletions
+3
View File
@@ -262,6 +262,9 @@ def get_artist_albums(artisthash: str):
artist = ArtistStore.get_artist_by_hash(artisthash)
if artist is None:
return {"error": "Artist not found"}, 404
if return_all is not None:
limit = len(all_albums)