Skip to content

Commit 5145620

Browse files
authored
Fix deprecated property in Probot
Error: Propery `event` is deprecated, use `name`
1 parent 0f081c9 commit 5145620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports.serverless = appFn => {
5252
if (event) {
5353
try {
5454
await probot.receive({
55-
event: e,
55+
name: e,
5656
payload: event.body
5757
})
5858
const res = {

0 commit comments

Comments
 (0)