mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 22:21:15 +00:00
fix duplicate albums with date = 0
This commit is contained in:
1 parent
dbfa395207
commit
1cf5d38a96
3 files changed
+11
-5
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user