Skip to content

Commit

Permalink
replace deprecated .event prop with .name
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed May 1, 2020
1 parent abfa5a2 commit 7922646
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/events/issueFirstTemplateBodyEvent.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"event": "issues",
"name": "issues",
"payload": {
"action": "opened",
"issue": {
Expand Down
2 changes: 1 addition & 1 deletion test/events/issueSecondTemplateBodyEvent.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"event": "issues",
"name": "issues",
"payload": {
"action": "opened",
"issue": {
Expand Down
2 changes: 1 addition & 1 deletion test/events/issueTemplateBodyEvent.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"event": "issues",
"name": "issues",
"payload": {
"action": "opened",
"issue": {
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ describe('Request info', () => {

beforeEach(() => {
event = {
event: 'installation_repositories',
name: 'installation_repositories',
payload: {
action: 'added',
installation: { account: { login: 'BEXO' } },
Expand Down

0 comments on commit 7922646

Please sign in to comment.