Skip to content

Commit

Permalink
Fix Lambda/Serverless Cron (#582)
Browse files Browse the repository at this point in the history
This fixes a bug introduced by changing module.exports in index.js
(commit 1540810)
  • Loading branch information
benbridts authored Feb 12, 2024
1 parent 94b3349 commit 8243799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ module.exports.webhooks = createLambdaFunction(appFn, {

module.exports.scheduler = function () {
const probot = createProbot()
const app = appFn(probot)
const app = appFn(probot, {})
return app.syncInstallation()
}

0 comments on commit 8243799

Please sign in to comment.