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, // все компании (массив)
+1 -1
View File
@@ -6,7 +6,7 @@
// ═══════════════════════════════════════════════════════════════════════════════
module.exports = {
version: '0.5.73',
version: '0.5.74',
iamUrl: process.env.V2_IAM_API_URL || 'https://auth-api.ngcloud.ru',
appUrl: process.env.V2_APP_URL || 'https://whitelist.nodejsk8s.services.ngcloud.ru',
};