fix arg handlers and album versions route

This commit is contained in:
geoffrey45
2023-05-07 14:02:46 +03:00
parent be7fc26fce
commit 45bf7570a3
6 changed files with 15 additions and 11 deletions
+3
View File
@@ -141,6 +141,7 @@ def get_album_versions():
artisthash: str = data['artisthash']
albums = AlbumStore.get_albums_by_artisthash(artisthash)
print(base_title, artisthash)
albums = [
a for a in albums
@@ -148,6 +149,8 @@ def get_album_versions():
create_hash(a.base_title) == create_hash(base_title) and create_hash(og_album_title) != create_hash(a.og_title)
]
print(albums)
return {
"data": albums
}