mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update redis_storage.py
This commit is contained in:
parent
351d021e01
commit
7bf87a306a
@ -170,6 +170,6 @@ class StateRedisStorage(StateStorageBase):
|
|||||||
user_id = str(user_id)
|
user_id = str(user_id)
|
||||||
if response:
|
if response:
|
||||||
if user_id in response:
|
if user_id in response:
|
||||||
response[user_id]['data'] = dict(data, **response[user_id]['data'])
|
response[user_id]['data'] = data
|
||||||
await self.set_record(chat_id, response)
|
await self.set_record(chat_id, response)
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user