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