From 736040d9f8cc5d41635089384509d333dd6c4656 Mon Sep 17 00:00:00 2001 From: Sebastian Seedorf Date: Wed, 26 Jan 2022 02:16:00 +0100 Subject: [PATCH] Added body console log --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 70d28e3..ea641dc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -51,6 +51,7 @@ app.post('/', async (req: Request, res: Response) => { return } const body: PushWebhook = req.body + console.log(body) if (body?.type !== "PUSH_ARTIFACT") { res.status(400).json({msg: "Only push hooks are allowed!"}) return