Skip to content

Commit ae21b64

Browse files
authored
refactor: update deprecated hmset function to hset (#917)
1 parent a0401ab commit ae21b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/services/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def cache_put(key: str, value: Any) -> None:
2525
client = get_client()
2626

2727
if isinstance(value, dict):
28-
client.hmset(key, value)
28+
client.hset(key, value)
2929
else:
3030
client.set(key, value)
3131

0 commit comments

Comments
 (0)