diff --git a/client/.env b/client/.env
index 354d929..b2775c6 100644
--- a/client/.env
+++ b/client/.env
@@ -1,3 +1,3 @@
# VITE_SERVER_URL=http://localhost:3001
# VITE_SERVER_URL=http://192.168.1.170:3001
-VITE_SERVER_URL=https://crm.stream.graff.tech/api
\ No newline at end of file
+VITE_SERVER_URL=https://crm.stream.graff.tech/api
diff --git a/client/src/components/Card.tsx b/client/src/components/Card.tsx
index f9e43ea..ba1260f 100644
--- a/client/src/components/Card.tsx
+++ b/client/src/components/Card.tsx
@@ -104,7 +104,7 @@ function Card({
{manager && (
-
+
)}
diff --git a/server/src/routes/scheduledSessions.ts b/server/src/routes/scheduledSessions.ts
index c675d9c..b4a7759 100644
--- a/server/src/routes/scheduledSessions.ts
+++ b/server/src/routes/scheduledSessions.ts
@@ -8,16 +8,7 @@ import { v4 as uuidv4 } from "uuid";
const scheduledSessionsRouter = Router();
scheduledSessionsRouter.get("/:id", async (req, res) => {
- if (!req.query.inviteKeyType || !req.query.inviteKeyValue) {
- res.json({
- error:
- "Query parameters `inviteKeyType` and `inviteKeyValue` is required",
- });
- return;
- }
-
- const scheduledSessionId = req.params.id;
- const scheduledSession = await ScheduledSession.findById(scheduledSessionId);
+ const scheduledSession = await ScheduledSession.findById(req.params.id);
res.json(scheduledSession);
});
@@ -71,11 +62,6 @@ scheduledSessionsRouter.get("/:buildId", async (req, res) => {
});
scheduledSessionsRouter.post("/", async (req, res) => {
- // if (!req.body.companyId) {
- // res.json({ error: "Parameter `companyId` is required" });
- // return;
- // }
-
if (!req.body.buildId) {
res.json({ error: "Parameter `buildId` is required" });
return;