Skip to content

Commit fe6a9d3

Browse files
committed
fix another nitpick
1 parent 3e7c1e1 commit fe6a9d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twitchio/ext/eventsub/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ async def delete_subscription(self, subscription_id: str):
5050
async def delete_all_active_subscriptions(self):
5151
# A convenience method
5252
active_subscriptions = await self.get_subscriptions("enabled")
53-
for subscription_id in active_subscriptions:
54-
await self.delete_subscription(subscription_id.id)
53+
for subscription in active_subscriptions:
54+
await self.delete_subscription(subscription.id)
5555

5656
async def get_subscriptions(
5757
self, status: Optional[str] = None, sub_type: Optional[str] = None, user_id: Optional[int] = None

0 commit comments

Comments
 (0)