mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
Fixes from code review
This commit is contained in:
@ -8,7 +8,7 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
const { token, password } = req.body;
|
||||
|
||||
if (!token) {
|
||||
res.status(422).json({ message: "Invalid token" });
|
||||
res.status(400).json({ message: "Invalid token" });
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user