From c101b9abb894d8fe8077eef867e936ed7f57376a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Sun, 6 Mar 2022 15:55:32 +0100 Subject: [PATCH] =?UTF-8?q?push=20for=20zo=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worker/src/services/github.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worker/src/services/github.ts b/worker/src/services/github.ts index 9acba08..d5518ba 100644 --- a/worker/src/services/github.ts +++ b/worker/src/services/github.ts @@ -16,8 +16,9 @@ export class Github extends BaseService { if (!("Github" in pipeline.userData)) throw new Error("User not authenticated via github"); this._github = new Octokit({auth: pipeline.userData["Github"].accessToken}); + console.log(process.env); this._websocket = new Webhooks({ - secret: pipeline.userData["Github"].accessToken + secret: process.env.GITHUB_SECRET }); }