From e74ca6fbd7dabd2efa9468fb5e46d81c64b661e9 Mon Sep 17 00:00:00 2001 From: John Costa Date: Thu, 21 Aug 2025 14:07:30 +0100 Subject: [PATCH] Update webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> --- webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts b/webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts index 8505157a0f..dd61c17eee 100644 --- a/webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts +++ b/webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts @@ -45,7 +45,7 @@ async function getRequestyKeyInfo(baseUrl?: string, apiKey?: string) { type UseRequestyKeyInfoOptions = Omit, "queryKey" | "queryFn"> export const useRequestyKeyInfo = (baseUrl?: string, apiKey?: string, options?: UseRequestyKeyInfoOptions) => { return useQuery({ - queryKey: ["requesty-key-info", apiKey], + queryKey: ["requesty-key-info", baseUrl, apiKey], queryFn: () => getRequestyKeyInfo(baseUrl, apiKey), staleTime: 30 * 1000, // 30 seconds enabled: !!apiKey,