Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgilder committed Nov 28, 2024
1 parent 8d9283d commit f4d2049
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/routes/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ router.post("/add-meeting", async (req, res) => {
await user.save();

console.log("Meeting added successfully for username:", username);
return res.status(200).json({ message: "Meeting added successfully", user });
return res
.status(200)
.json({ message: "Meeting added successfully", user });
} catch (error) {
console.error("Error adding meeting:", error);
return res.status(500).json({ message: "Error adding meeting", error });
}
});



export default router;

0 comments on commit f4d2049

Please sign in to comment.