mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
show toast if album return 204
This commit is contained in:
@@ -49,7 +49,7 @@ def get_album():
|
||||
album = instances.album_instance.find_album_by_hash(albumhash)
|
||||
|
||||
if not album:
|
||||
return {"error": "Album not found."}, 404
|
||||
return {"error": "Album not created yet."}, 204
|
||||
|
||||
album = models.Album(album)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user