Skip to content

Commit

Permalink
trailing geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegerrits committed Feb 4, 2025
1 parent bcb59ce commit 027dcab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/stores/vespaStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const useVespaStore = defineStore('vespaStore', {
}

try {
const response = await ApiService.get(`/observations/dynamic-geojson?${filterQuery}`);
const response = await ApiService.get(`/observations/dynamic-geojson/?${filterQuery}`);
if (response.status === 200) {
this.observations = response.data.features;
this.setLastAppliedFilters();
Expand Down
2 changes: 1 addition & 1 deletion vespadb/observations/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def invalidate_geojson_cache() -> None:
"""Invalidate the cache for all GeoJSON observations."""
keys = cache.keys("vespadb::/observations/dynamic-geojson*")
keys = cache.keys("vespadb::/observations/dynamic-geojson/*")
cache.delete_many(keys)


Expand Down

0 comments on commit 027dcab

Please sign in to comment.