Skip to content

Commit

Permalink
Change set_data to set_bucket in reset_bucket (aiogram#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
draklowell committed Aug 5, 2022
1 parent c6a3ee0 commit 98f8c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiogram/dispatcher/storage.py
Expand Up @@ -271,7 +271,7 @@ async def reset_bucket(self, *,
:param user:
:return:
"""
await self.set_data(chat=chat, user=user, data={})
await self.set_bucket(chat=chat, user=user, bucket={})

@staticmethod
def resolve_state(value):
Expand Down

0 comments on commit 98f8c57

Please sign in to comment.