From a820598cfdaa24bbf6ba145c1c068eeebad78454 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Fri, 12 Dec 2025 06:40:13 +0000 Subject: [PATCH] fix: convert id to string for cache key detail function --- .../atoms/search-spaces/search-space-mutation.atoms.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surfsense_web/atoms/search-spaces/search-space-mutation.atoms.ts b/surfsense_web/atoms/search-spaces/search-space-mutation.atoms.ts index 54e934b5a..a97cc3379 100644 --- a/surfsense_web/atoms/search-spaces/search-space-mutation.atoms.ts +++ b/surfsense_web/atoms/search-spaces/search-space-mutation.atoms.ts @@ -42,7 +42,7 @@ export const updateSearchSpaceMutationAtom = atomWithMutation((get) => { }); if (request.id) { queryClient.invalidateQueries({ - queryKey: cacheKeys.searchSpaces.detail(request.id), + queryKey: cacheKeys.searchSpaces.detail(String(request.id)), }); } },