mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-13 19:33:12 -05:00
feat(backend): ➕ Add Rich for Development Logging
This commit is contained in:
@@ -47,7 +47,6 @@ async def delete_comment(
|
||||
):
|
||||
""" Delete comment from the Database """
|
||||
comment: CommentOut = db.comments.get(session, id)
|
||||
print(current_user.id, comment.user.id, current_user.admin)
|
||||
if current_user.id == comment.user.id or current_user.admin:
|
||||
db.comments.delete(session, id)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user