mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
fix arg handlers and album versions route
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user