Skip to content

Commit a3c1f06

Browse files
author
Mubashir Shariq
committed
correctly handling the error '
1 parent b5234eb commit a3c1f06

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

server/controllers/user.controller.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export async function findUserByUsername(username) {
3939
}
4040
}
4141

42-
43-
4442
export function createUser(req, res, next) {
4543
const { username, email } = req.body;
4644
const { password } = req.body;

0 commit comments

Comments
 (0)