first commit
Deploy Node App / deploy (push) Successful in 5s

This commit is contained in:
Gitea
2026-05-25 16:25:02 +05:30
parent e8ab511b0d
commit d55d1e5b4e
+1 -1
View File
@@ -7,7 +7,7 @@ const JWT_SECRET = 'secretkey';
const loginUser = async (req, res) => { const loginUser = async (req, res) => {
try { try {
const { username, password } = req.body; const { username, password } = req.body;
return res.send("hello");
if (!username || !password) { if (!username || !password) {
return res.status(400).json({ return res.status(400).json({