Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
remove comments
x03220584687c0558a8
diff --git a/frontend/src/hooks/api/appConnections/bitbucket/queries.tsx b/frontend/src/hooks/api/appConnections/bitbucket/queries.tsxindex df74254a01..bfae0534f9 100644--- a/frontend/src/hooks/api/appConnections/bitbucket/queries.tsx+++ b/frontend/src/hooks/api/appConnections/bitbucket/queries.tsx@@ -51,18 +51,15 @@ export const useBitbucketConnectionListRepositories = (TBitbucketRepo[],unknown,TBitbucketRepo[],- // The ReturnType here will be a supertype of the actual queryKey, which is acceptableReturnType<typeof bitbucketConnectionKeys.listRepos>>,"queryKey" | "queryFn">) => {return useQuery({- // Append workspaceSlug to the existing query key for unique cachingqueryKey: bitbucketConnectionKeys.listRepos(connectionId, workspaceSlug),queryFn: async () => {const { data } = await apiRequest.get<TBitbucketConnectionListRepositoriesResponse>(- // Include workspaceSlug in the API endpoint path`/api/v1/app-connections/bitbucket/${connectionId}/repositories?workspaceSlug=${encodeURIComponent(workspaceSlug)}`);