mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 01:15:31 +00:00
Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x
This commit is contained in:
commit
fb991570d2
1 changed files with 2 additions and 2 deletions
|
|
@ -336,9 +336,9 @@ class RedisStorage2(BaseStorage):
|
||||||
bucket: typing.Dict = None, **kwargs):
|
bucket: typing.Dict = None, **kwargs):
|
||||||
if bucket is None:
|
if bucket is None:
|
||||||
bucket = {}
|
bucket = {}
|
||||||
temp_bucket = await self.get_data(chat=chat, user=user)
|
temp_bucket = await self.get_bucket(chat=chat, user=user)
|
||||||
temp_bucket.update(bucket, **kwargs)
|
temp_bucket.update(bucket, **kwargs)
|
||||||
await self.set_data(chat=chat, user=user, data=temp_bucket)
|
await self.set_bucket(chat=chat, user=user, data=temp_bucket)
|
||||||
|
|
||||||
async def reset_all(self, full=True):
|
async def reset_all(self, full=True):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue