From 7bf87a306a097f903b7785fe0281009ba9e2aaa4 Mon Sep 17 00:00:00 2001 From: _run Date: Mon, 3 Apr 2023 01:00:48 +0500 Subject: [PATCH] Update redis_storage.py --- telebot/asyncio_storage/redis_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/asyncio_storage/redis_storage.py b/telebot/asyncio_storage/redis_storage.py index 92842ab..f9c3aea 100644 --- a/telebot/asyncio_storage/redis_storage.py +++ b/telebot/asyncio_storage/redis_storage.py @@ -170,6 +170,6 @@ class StateRedisStorage(StateStorageBase): user_id = str(user_id) if 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) return True