Skip to content

Commit

Permalink
Fix response code in invite-user
Browse files Browse the repository at this point in the history
  • Loading branch information
sthuray committed Nov 27, 2024
1 parent a224aa0 commit e4acd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/typescript/rest/authRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ authRouter.post("/invite-user", inviteUserDtoValidator, async (req, res) => {
)
) {
res
.status(400)
.status(401)
.json({ error: "User is not authorized to invite user. " });
return;
}
Expand Down

0 comments on commit e4acd2c

Please sign in to comment.