mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 11:38:55 +00:00
fix: resolved permission not defined for custom org role
This commit is contained in:
@@ -10,9 +10,10 @@ export const kmsKeys = {
|
||||
getActiveProjectKms: (projectId: string) => ["get-active-project-kms", { projectId }]
|
||||
};
|
||||
|
||||
export const useGetExternalKmsList = (orgId: string) => {
|
||||
export const useGetExternalKmsList = (orgId: string, { enabled }: { enabled?: boolean } = {}) => {
|
||||
return useQuery({
|
||||
queryKey: kmsKeys.getExternalKmsList(orgId),
|
||||
enabled,
|
||||
queryFn: async () => {
|
||||
const {
|
||||
data: { externalKmsList }
|
||||
|
||||
Reference in New Issue
Block a user