mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: api path for auth-config
This commit is contained in:
parent
f744e67fce
commit
91860744f8
@ -1,7 +1,8 @@
|
||||
import { throwIfNotSuccess, headers } from '../api-helper';
|
||||
import { formatApiPath } from '../../utils/format-path';
|
||||
|
||||
const GOOGLE_URI = 'api/admin/auth/google/settings';
|
||||
const SAML_URI = 'api/admin/auth/saml/settings';
|
||||
const GOOGLE_URI = formatApiPath('api/admin/auth/google/settings');
|
||||
const SAML_URI = formatApiPath('api/admin/auth/saml/settings');
|
||||
|
||||
function getGoogleConfig() {
|
||||
return fetch(GOOGLE_URI, { headers, credentials: 'include' })
|
||||
|
Loading…
Reference in New Issue
Block a user