From 4114bb7a363a4b74bc286999795dcd07dbded1c5 Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 20 Sep 2023 13:14:29 +0700 Subject: [PATCH] add webhook gitea --- netmiko_Api/routes/router.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/netmiko_Api/routes/router.js b/netmiko_Api/routes/router.js index a19b420..aabbe64 100644 --- a/netmiko_Api/routes/router.js +++ b/netmiko_Api/routes/router.js @@ -208,8 +208,6 @@ router.post("/api/gitea-webhook", ( req, res ) => { // if (request.headers['x-gitlab-event'] === 'push') { // // Lấy dữ liệu sự kiện từ req.body // const eventData = req.body; - - // // Xử lý dữ liệu sự kiện ở đây // console.log('Received push event from GitLab:'); // console.log(JSON.stringify(eventData, null, 2)); // }