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

Commit 0370321

Browse files
authored
Merge pull request #72 from LF-Engineering/use-profile-name
use profile name instead of identity name
2 parents 292c217 + 3155c63 commit 0370321

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
@@ -325,6 +325,10 @@ func (a *Affiliation) GetIdentityByUser(key string, value string) (*AffIdentity,
325325
identity.MultiOrgNames = append(identity.MultiOrgNames, profile.Enrollments[0].Organization.Name)
326326
}
327327

328+
if profile.Profile.Name != nil {
329+
identity.Name = *profile.Profile.Name
330+
}
331+
328332
return &identity, nil
329333

330334
}

0 commit comments

Comments
 (0)