Skip to content

Commit

Permalink
Fix other use of getUserFollowers
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTocs committed Oct 6, 2023
1 parent 78a3b20 commit 12e1522
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/castmate/src/main/plugins/twitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12e1522

Please sign in to comment.