From 12e152224b88f387c27d538fa6fcfff9deb98afe Mon Sep 17 00:00:00 2001 From: LordTocs Date: Fri, 6 Oct 2023 13:56:47 -0400 Subject: [PATCH] Fix other use of getUserFollowers --- packages/castmate/src/main/plugins/twitch.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/castmate/src/main/plugins/twitch.js b/packages/castmate/src/main/plugins/twitch.js index 4b5f2080..b0f810c2 100644 --- a/packages/castmate/src/main/plugins/twitch.js +++ b/packages/castmate/src/main/plugins/twitch.js @@ -532,9 +532,10 @@ export default { }) let follows = - await this.channelTwitchClient.users.getFollows({ - followedUser: this.state.channelId, - }) + await twitchClient.channels.getChannelFollowers( + this.state.channelId, + this.state.channelId + ) this.state.followers = follows.total this.state.lastFollower = follows.data.length > 0