Skip to content

Commit

Permalink
fix: change fork payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu4k committed Jul 21, 2020
1 parent 2e4204c commit feb3535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10157,7 +10157,7 @@ const serializers = {
return `${line} PR #${item.payload.pull_request.number} in ${item.repo.name}`;
},
ForkEvent: item => {
return `🍴 Forked ${item.forkee.full_name} from ${item.repo.name}`;
return `🍴 Forked ${item.payload.forkee.full_name} from ${item.repo.name}`;
},
ReleaseEvent: item => {
return `📦 Released "${item.payload.release.name}" in ${item.repo.name}`;
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const serializers = {
return `${line} PR #${item.payload.pull_request.number} in ${item.repo.name}`;
},
ForkEvent: item => {
return `🍴 Forked ${item.forkee.full_name} from ${item.repo.name}`;
return `🍴 Forked ${item.payload.forkee.full_name} from ${item.repo.name}`;
},
ReleaseEvent: item => {
return `📦 Released "${item.payload.release.name}" in ${item.repo.name}`;
Expand Down

0 comments on commit feb3535

Please sign in to comment.