Skip to content

Commit 68f2c93

Browse files
committed
refactor: deletes unnecessary log message
1 parent 4151ca8 commit 68f2c93

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ app.post('/new', (req, res) => {
3636
res.status(201).json({ message: 'User Created Successfully !' })
3737

3838
} catch (error) {
39-
console.error(error);
4039

4140
console.log(error);
42-
4341
res.status(500).json({ message: 'Error Creating the User' })
4442
}
4543

0 commit comments

Comments
 (0)