diff --git a/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts b/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts index 123fce0c41..cdfd4300c7 100644 --- a/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts +++ b/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts @@ -3,7 +3,6 @@ import { formatApiPath } from 'utils/formatPath'; import handleErrorResponses from '../httpErrorResponseHandler'; import { useConditionalSWR } from '../useConditionalSWR/useConditionalSWR'; import useUiConfig from '../useUiConfig/useUiConfig'; -import { useUiFlag } from 'hooks/useUiFlag'; const ENDPOINT = 'api/admin/scim-settings'; @@ -21,10 +20,9 @@ const DEFAULT_DATA: ScimSettings = { export const useScimSettings = () => { const { isEnterprise } = useUiConfig(); - const scimEnabled = useUiFlag('scimApi'); const { data, error, mutate } = useConditionalSWR( - isEnterprise() && scimEnabled, + isEnterprise(), DEFAULT_DATA, formatApiPath(ENDPOINT), fetcher,