Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit 160a4df

Browse files
committed
use profile name instead of identiy name
1 parent 0669981 commit 160a4df

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

affiliation/identity.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@ func (a *Affiliation) GetIdentityByUser(key string, value string) (*AffIdentity,
323323
identity.MultiOrgNames = append(identity.MultiOrgNames, profile.Enrollments[0].Organization.Name)
324324
}
325325

326+
if profile.Profile.Name != nil {
327+
identity.Name = *profile.Profile.Name
328+
}
329+
326330
return &identity, nil
327331

328332
}

0 commit comments

Comments
 (0)