fix: redis hmset is deprecated in favor of hset

This commit is contained in:
Benedikt Bartscher 2024-12-09 12:19:51 +01:00
parent c1944a4244
commit 346755a02d
No known key found for this signature in database

View File

@ -3405,7 +3405,7 @@ class StateManagerRedis(StateManager):
pipe = self.redis.pipeline()
await (
pipe.hmset(name=client_token, mapping=redis_hashset)
pipe.hset(name=client_token, mapping=redis_hashset)
.hexpire( # type: ignore
client_token,
self.token_expiration,