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

This commit is contained in:
Gitea
2026-05-25 16:38:37 +05:30
parent d55d1e5b4e
commit 1f151e77ed
2 changed files with 3 additions and 3 deletions
+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({