Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatDevourer committed Feb 7, 2024
1 parent de12258 commit f1bfcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/controllers/lockers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_locker_id_locker(id):


def get_all_lockers():
locker_list = db.session.query(Locker,Area,KeyHistory).join(Area.id == Locker.area,KeyHistory.locker_id == Locker.locker_code).filter(KeyHistory.isActive == Active.ACTIVE).all()
locker_list = db.session.query(Locker).join(Area,KeyHistory).filter(KeyHistory.isActive == Active.ACTIVE).all()

if not locker_list:
return []
Expand Down

0 comments on commit f1bfcaf

Please sign in to comment.