fix display of settings

This commit is contained in:
Ishaan Jaff 2025-03-17 16:56:49 -07:00
parent 2607676e3f
commit 02db6f9d86
4 changed files with 166 additions and 76 deletions

View file

@ -3974,12 +3974,12 @@ export const uiSpendLogDetailsCall = async (
}
};
export const getSSOSettingsCall = async (accessToken: string) => {
export const getInternalUserSettings = async (accessToken: string) => {
try {
// Construct base URL
let url = proxyBaseUrl
? `${proxyBaseUrl}/sso_settings`
: `/sso_settings`;
? `${proxyBaseUrl}/get/internal_user_settings`
: `/get/internal_user_settings`;
console.log("Fetching SSO settings from:", url);