v2: fio — строка (fullName), не объект

This commit is contained in:
2026-06-12 20:54:48 +04:00
parent b18429049e
commit 15da5cd441
4 changed files with 55 additions and 97 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ async function fetchIamUser(token, iamUrl) {
companyId: ui.companyId || '', // внутр. ID IAM (не W-формат)
companyName: ui.company || activeProfile.company_name || '',
isAdmin: !!ui.isAdmin,
fio: ui.fio || null,
fio: (ui.fio && ui.fio.fullName) || ui.fio || null,
// ── из profiles ──
profiles, // все компании (массив)