Skip to content

Commit

Permalink
bugfix: ES export
Browse files Browse the repository at this point in the history
  • Loading branch information
skywarth committed Jul 5, 2024
1 parent 81b900e commit 58289c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/github/webhooks/serverless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ import app from "../../../src/index.js";

const probot = createProbot();

module.exports = createNodeMiddleware(app, { probot, webhooksPath: '/api/github/webhooks' });
export default createNodeMiddleware(app, {
probot,
webhooksPath: "/api/github/webhooks",
});

0 comments on commit 58289c0

Please sign in to comment.