Skip to content

Commit e74ca6f

Browse files
Update webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent f0a5bd6 commit e74ca6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/ui/hooks/useRequestyKeyInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function getRequestyKeyInfo(baseUrl?: string, apiKey?: string) {
4545
type UseRequestyKeyInfoOptions = Omit<UseQueryOptions<RequestyKeyInfo | null>, "queryKey" | "queryFn">
4646
export const useRequestyKeyInfo = (baseUrl?: string, apiKey?: string, options?: UseRequestyKeyInfoOptions) => {
4747
return useQuery<RequestyKeyInfo | null>({
48-
queryKey: ["requesty-key-info", apiKey],
48+
queryKey: ["requesty-key-info", baseUrl, apiKey],
4949
queryFn: () => getRequestyKeyInfo(baseUrl, apiKey),
5050
staleTime: 30 * 1000, // 30 seconds
5151
enabled: !!apiKey,

0 commit comments

Comments
 (0)