From d2dcc848da33e28d32670f713cd6d137db1dfb3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Mon, 12 Sep 2022 16:55:04 +0200 Subject: [PATCH] Maybe I'm not logging "the right thing"... --- index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index fe5d764..cea7b8a 100644 --- a/index.ts +++ b/index.ts @@ -1,9 +1,9 @@ import { ApplicationFunction } from 'probot'; const appFn: ApplicationFunction = (app) => { - app.on('pull_request', (context) => - console.log(JSON.stringify(context, null, 2)) - ); + app.on('pull_request', (context) => { + console.log(JSON.stringify(context.payload, null, 2)); + }); }; export = appFn;