show toast if album return 204

This commit is contained in:
geoffrey45
2022-06-23 08:30:55 +03:00
parent 5fb920f958
commit de7aba3ba7
7 changed files with 51 additions and 43 deletions
+1 -1
View File
@@ -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)