Skip to content

Commit 43cb2b1

Browse files
author
Pietro Albini
committed
Don't make a request per avatar while fetching avatar history
1 parent 6e3c5d7 commit 43cb2b1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

botogram/objects/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def avatar_history(self):
6262
chunk = self._api.call("getUserProfilePhotos", {
6363
"user_id": self.id,
6464
"offset": len(avatars),
65-
"limit": 1,
6665
}, expect=UserProfilePhotos)
6766

6867
avatars += chunk.photos

0 commit comments

Comments
 (0)