fix duplicate albums with date = 0

This commit is contained in:
mungai-njoroge committed 2023-06-26 13:17:24 +03:00
1 parent dbfa395207
commit 1cf5d38a96
3 files changed
+11 -5

No files matched your search

+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)