mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 03:08:51 +00:00
Fix update_bucket
This commit is contained in:
parent
e2842944fa
commit
8a819eb7ed
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ class RedisStorage2(BaseStorage):
|
|||
bucket = {}
|
||||
temp_bucket = await self.get_bucket(chat=chat, user=user)
|
||||
temp_bucket.update(bucket, **kwargs)
|
||||
await self.set_bucket(chat=chat, user=user, data=temp_bucket, expire=expire)
|
||||
await self.set_bucket(chat=chat, user=user, bucket=temp_bucket, expire=expire)
|
||||
|
||||
async def reset_all(self, full=True):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue