diff --git a/api/github/webhooks.js b/api/github/webhooks.js index f2f9be27..fac0adb8 100644 --- a/api/github/webhooks.js +++ b/api/github/webhooks.js @@ -1,8 +1,13 @@ const { createNodeMiddleware, createProbot } = require("probot"); +const pino = require("pino"); const app = require("../../app"); module.exports = createNodeMiddleware(app, { - probot: createProbot(), + probot: createProbot({ + overrides: { + log: pino(), + }, + }), webhooksPath: "/api/github/webhooks", });