Skip to content

Commit

Permalink
fix(meetings): Twilio tokens with usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
HagerDakroury committed Jul 16, 2021
1 parent b420c9d commit 24a8b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meetings/src/routes/join.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ router.post(`${baseUrl}/join/:id`, async (req: Request, res: Response) => {
return res.status(400).send("User is not authorized");
}

const user = resV.data._id;
const user = resV.data.username;

try {
let userMeetings = await UserMeetings.findOne({ name: user });
Expand Down

0 comments on commit 24a8b50

Please sign in to comment.