Skip to content

Commit c5e8760

Browse files
author
anthonyp97
committed
undo invalidate change
1 parent 459e953 commit c5e8760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache_helper/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def invalidate(*args, **kwargs):
113113
:param kwargs: The kwargs passed into the original function.
114114
:rtype: None
115115
"""
116-
function_cache_key = utils.get_function_cache_key(func_name, args[1:], kwargs)
116+
function_cache_key = utils.get_function_cache_key(func_name, args, kwargs)
117117
cache_key = utils.get_hashed_cache_key(function_cache_key)
118118
cache.delete(cache_key)
119119

0 commit comments

Comments
 (0)