Skip to content

Commit

Permalink
fix bug in count available lockers
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed Aug 13, 2024
1 parent 2fa43c9 commit 0ed5b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/adminData.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export async function queryAvailableLockersCount() {
}
}

let levelCounts = {};
let levelCounts = [];
for (let level of levels) {
let postLockerArr = await Locker.findAll({
where: {
Expand Down

0 comments on commit 0ed5b9b

Please sign in to comment.