Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const appCredentials = await registerGitHubApp({
issues: "write",
},
// List of events for new installations
evedefault_events: ["issues"],
default_events: ["issues"],
});

// convert private key to pkcs8 format (recommended for better cross plattform support)
Expand Down Expand Up @@ -72,7 +72,7 @@ const appCredentials = await registerGitHubApp({
issues: "write",
},
// List of events for new installations
evedefault_events: ["issues"],
default_events: ["issues"],

@babblebey babblebey Apr 26, 2024

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @gr2m,

This entire property present in the configuration is leading to an error

image

I since discovered that inorder for us to listen for a certain event, then we've gotta also configure the "hook_attributes" and that isn't present in the code example..

So, should this be added or should we remove the default_events entirely!???

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch! I think we should define hook_attributes as well

});
```

Expand Down