Skip to content

Commit

Permalink
closed: stopping slot booking
Browse files Browse the repository at this point in the history
  • Loading branch information
Yug-Oswal committed Sep 23, 2023
1 parent 8c6d83b commit e49f5ff
Show file tree
Hide file tree
Showing 6 changed files with 612 additions and 437 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.env
node_modules/
userdata.xlsx
src/scripts/
src/scripts/
src/controllers/finalemaillist.js
4 changes: 1 addition & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
services:
app:
build:
context: .
dockerfile: Dockerfile
image: lasertag-backend
container_name: lasertag-backend
ports:
- ${PORT}:${PORT}
Expand Down
1 change: 1 addition & 0 deletions src/controllers/bookslotcontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import fs from "fs";

const BookSlotController = catchAsync(
async (req, res) => {
return res.status(200).json({error: "Slot booking has now been officialy closed. Thank you for your participation!"});
let {slotId} = req.body;
let {userID} = req.userID;

Expand Down
1 change: 1 addition & 0 deletions src/controllers/changeslotcontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import fs from "fs";

const ChangeSlotController = catchAsync(
async (req, res) => {
return res.status(200).json({error: "Slot booking has now been officialy closed. Thank you for your participation!"});
let {slotId} = req.body;
let {userID} = req.userID;

Expand Down
Loading

0 comments on commit e49f5ff

Please sign in to comment.