Skip to content

Commit 04dc0d0

Browse files
committed
remove console logs
1 parent ca707f4 commit 04dc0d0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/routes/userRoutes.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ const router = express.Router();
1010
router.post("/register", async (req: Request, res: Response) => {
1111
try {
1212
const { username, password } = req.body;
13-
console.log(username, password);
1413
const hashedPassword = await bcrypt.hash(password, 10);
15-
console.log(hashedPassword);
16-
1714
const user = await User.create({ username, password: hashedPassword });
1815
res.status(201).json(_.pick(user, ["id", "username"]));
1916
} catch (error) {

0 commit comments

Comments
 (0)