Skip to content

Commit fd5fde6

Browse files
committed
possible fix for #383
1 parent 543dc67 commit fd5fde6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twitchio/rewards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ async def edit(
236236
) from error
237237
raise
238238
else:
239-
for reward in data["data"]:
239+
for reward in data:
240240
if reward["id"] == self.id:
241241
self.__init__(self._http, reward, self._channel)
242242
break

0 commit comments

Comments
 (0)