Skip to content

Commit

Permalink
ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kea-roy committed Nov 8, 2024
1 parent 7849c06 commit 72b8c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ app.get('/api/review/like/:userId', authenticate, async (req, res) => {
throw new Error('not authenticated');
}
const realUserId = req.user.uid;
const {userId} = req.params;
const { userId } = req.params;
const statusType = req.query.status;
if (userId !== realUserId) {
res.status(401).send("Error: user is not authorized to access another user's likes");
Expand Down

0 comments on commit 72b8c13

Please sign in to comment.