Maybe I'm not logging "the right thing"...

This commit is contained in:
Maciej Pędzich 2022-09-12 16:55:04 +02:00
parent 94440669c8
commit d2dcc848da

View File

@ -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;