Skip to content

Commit 8243799

Browse files
authored
Fix Lambda/Serverless Cron (#582)
This fixes a bug introduced by changing module.exports in index.js (commit 1540810)
1 parent 94b3349 commit 8243799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ module.exports.webhooks = createLambdaFunction(appFn, {
1111

1212
module.exports.scheduler = function () {
1313
const probot = createProbot()
14-
const app = appFn(probot)
14+
const app = appFn(probot, {})
1515
return app.syncInstallation()
1616
}

0 commit comments

Comments
 (0)