Skip to content

Commit

Permalink
refactor: update deprecated hmset function to hset (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
arian81 authored Jan 21, 2025
1 parent a0401ab commit ae21b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/services/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def cache_put(key: str, value: Any) -> None:
client = get_client()

if isinstance(value, dict):
client.hmset(key, value)
client.hset(key, value)
else:
client.set(key, value)

Expand Down

0 comments on commit ae21b64

Please sign in to comment.