Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

revert order

Matheus Nogueirad3fa99835ed8
diff --git a/frontend/src/hooks/api/appConnections/bitbucket/queries.tsx b/frontend/src/hooks/api/appConnections/bitbucket/queries.tsx
index 5a4d93a565..5f69739830 100644
--- a/frontend/src/hooks/api/appConnections/bitbucket/queries.tsx
+++ b/frontend/src/hooks/api/appConnections/bitbucket/queries.tsx
@@ -14,10 +14,10 @@ import {
const bitbucketConnectionKeys = {
all: [...appConnectionKeys.all, "bitbucket"] as const,
- listWorkspaces: (connectionId: string, search?: string) =>
- [...bitbucketConnectionKeys.all, "workspaces", connectionId, { search }] as const,
listRepos: (connectionId: string, workspaceSlug: string, search?: string) =>
[...bitbucketConnectionKeys.all, "repos", connectionId, workspaceSlug, { search }] as const,
+ listWorkspaces: (connectionId: string, search?: string) =>
+ [...bitbucketConnectionKeys.all, "workspaces", connectionId, { search }] as const,
listEnvironments: (connectionId: string, workspaceSlug: string, repoSlug: string) =>
[...bitbucketConnectionKeys.all, "environments", connectionId, workspaceSlug, repoSlug] as const
};