Skip to content

Commit 75512f9

Browse files
committed
get_user_follows should be using to_id instead of from_id.
1 parent ba63a09 commit 75512f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twitchio/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ async def fetch_followers(self, token: str = None):
410410
"""
411411
from .models import FollowEvent
412412

413-
data = await self._http.get_user_follows(from_id=str(self.id))
413+
data = await self._http.get_user_follows(to_id=str(self.id))
414414
return [FollowEvent(self._http, d, to=self) for d in data]
415415

416416
async def follow(self, userid: int, token: str, *, notifications=False):

0 commit comments

Comments
 (0)