mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-27 08:20:34 +00:00
Avatar Update
This commit is contained in:
@ -54,7 +54,6 @@ def delete_avatar(avatar_id, user_id):
|
||||
def _delete_avatar(app, avatar_id):
|
||||
with app.app_context():
|
||||
avatar_file = Avatar.query.get(avatar_id)
|
||||
print(avatar_file)
|
||||
avatar_file.delete()
|
||||
db.session.commit()
|
||||
thread = Thread(
|
||||
|
Reference in New Issue
Block a user