Skip to content

Commit ee530ca

Browse files
committed
update fetcher
1 parent 49c8684 commit ee530ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/api/useApiResource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const useApiResource = <T>(
2020

2121
const { data, error, isLoading, isValidating } = useSWR(
2222
disable || resource.path === null ? null : [resource.path, apiConfig, excludeMcpConfig],
23-
([path, apiConfig]) =>
23+
([path, apiConfig, excludeMcpConfig]) =>
2424
fetchApiServerJson<T>(
2525
path,
2626
excludeMcpConfig ? { ...apiConfig, mcpConfig: undefined } : apiConfig,

0 commit comments

Comments
 (0)