mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 09:16:25 +01:00
Fix delete
This commit is contained in:
parent
937d77a349
commit
ace8895652
@ -191,7 +191,7 @@ def delete_album(uuid):
|
||||
elif len(users) == 1 and users[0]["id"] != session.get("user_id"):
|
||||
error = "Vous ne possédez pas cet album."
|
||||
|
||||
if user.access_level(session.get("user-id")) == 1:
|
||||
if user.access_level(session.get("user_id")) == 1:
|
||||
error = None
|
||||
|
||||
if error is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user