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

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