Skip to content

Commit

Permalink
fix: pass state when building SKU objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipy7374 committed Dec 14, 2024
1 parent b25792c commit 979d116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3135,7 +3135,7 @@ async def skus(self) -> List[SKU]:
The list of SKUs.
"""
data = await self.http.get_skus(self.application_id)
return [SKU(data=d) for d in data]
return [SKU(data=d, state=self._connection) for d in data]

def entitlements(
self,
Expand Down

0 comments on commit 979d116

Please sign in to comment.