From 1f151e77edfed071c5181049c699fe6a16b4ef0a Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 25 May 2026 16:38:37 +0530 Subject: [PATCH] first commit --- .gitea/workflows/test.yml | 4 ++-- controller/loginUser.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index fc75d6c..3892f04 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - # Step 1: Pehle local files ko server par copy karein + - name: Copy files to VPS uses: appleboy/scp-action@master with: @@ -21,7 +21,7 @@ jobs: source: "./*" target: "/root/IR-Node-Setup" - # Step 2: Server par commands run karein (Bina git pull ke) + - name: Execute SSH Commands uses: appleboy/ssh-action@master with: diff --git a/controller/loginUser.js b/controller/loginUser.js index 59f3350..e1964e7 100644 --- a/controller/loginUser.js +++ b/controller/loginUser.js @@ -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({