Skip to content

Commit

Permalink
fix caching logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gislawill committed Nov 22, 2024
1 parent b1b6ec9 commit 9f04de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def cache_geojson(

cache_filepath = _get_cached_filepath(
prefix=prefix,
cache_key=cache_key if cache_key else _hash_value(json_string),
cache_key=cache_key,
data=json_string,
extension="json",
)
Expand Down

0 comments on commit 9f04de9

Please sign in to comment.