From feb3535396807f1500f7ba99f2bbf019cfe8ac0d Mon Sep 17 00:00:00 2001 From: Qu4k Date: Tue, 21 Jul 2020 13:58:24 +0200 Subject: [PATCH] fix: change fork payload --- dist/index.js | 2 +- src/widgets/activity.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0d51f36..aed0581 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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}`; diff --git a/src/widgets/activity.ts b/src/widgets/activity.ts index 16a9289..5c9ef3d 100644 --- a/src/widgets/activity.ts +++ b/src/widgets/activity.ts @@ -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}`;