Skip to content

Commit

Permalink
removed error log for role_id in user.py as role_id is no longer in U…
Browse files Browse the repository at this point in the history
…ser.
  • Loading branch information
aparriaran committed Feb 14, 2025
1 parent 8d722c8 commit 9822a6a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions BackEndFlask/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ def __str__(self):
def get_users():
return User.query.all()

@error_log
def get_users_by_role_id(role_id):
return User.query.filter_by(role_id=role_id).all()


@error_log
def get_users_by_owner_id(owner_id):
Expand Down

0 comments on commit 9822a6a

Please sign in to comment.