Skip to content

Commit

Permalink
Merge pull request #19 from EmTanIT/tanBE
Browse files Browse the repository at this point in the history
configure deploy v2
  • Loading branch information
bentran1vn committed Oct 3, 2023
2 parents 532c9ad + bc55819 commit c32e869
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "server.js",
"scripts": {
"test": "node server"
"start": "node server"
},
"keywords": [],
"author": "",
Expand Down
5 changes: 3 additions & 2 deletions routes/examSlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ router.get('/', async (req, res) => {
if (i !== 0) {
day.setDate(startDay.getDate() + i);
}
let countSlot = 0
for (const key in course) {
const val = object[key];
console.log(val/15);
const val = course[key];
console.log(val.numOfStu/process.env.NUMBER_OF_STUDENT_IN_ROOM);
}

}
Expand Down

0 comments on commit c32e869

Please sign in to comment.