From d5997a6d0cad6fadd63878c60a8d29dc6881b443 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Mon, 15 Dec 2025 12:04:39 +0000 Subject: [PATCH] feat: add user cache keys --- surfsense_web/lib/query-client/cache-keys.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/surfsense_web/lib/query-client/cache-keys.ts b/surfsense_web/lib/query-client/cache-keys.ts index 797c40b65..ae8bb0f08 100644 --- a/surfsense_web/lib/query-client/cache-keys.ts +++ b/surfsense_web/lib/query-client/cache-keys.ts @@ -41,4 +41,7 @@ export const cacheKeys = { detail: (searchSpaceId: string) => ["search-spaces", searchSpaceId] as const, communityPrompts: ["search-spaces", "community-prompts"] as const, } -}; + user: { + current: () => ["user", "me"] as const, + }, +}; \ No newline at end of file