From 168c59c34fca4cec273300cedba1fe2123f15aa8 Mon Sep 17 00:00:00 2001 From: imvipindev Date: Mon, 21 Aug 2023 20:13:03 +0530 Subject: [PATCH] chore: :fire: remove console logs --- github/endpoints/githubEndpoints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/endpoints/githubEndpoints.ts b/github/endpoints/githubEndpoints.ts index c2f25ba..e136b18 100644 --- a/github/endpoints/githubEndpoints.ts +++ b/github/endpoints/githubEndpoints.ts @@ -51,7 +51,7 @@ export class githubWebHooks extends ApiEndpoint { } const eventCaps = event.toUpperCase(); let messageText = "newEvent !"; - console.log(payload) + if (event == "push") { messageText = `*New Commits to* *[${payload.repository.full_name}](${payload.repository.html_url}) by ${payload.pusher.name}*`; } else if (event == "pull_request") {