Load identity email_address on coredata.MembershipProfile

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-03 19:45:03 +04:00
parent e156a428d4
commit 6328952c6f
7 changed files with 95 additions and 54 deletions

View File

@@ -267,6 +267,7 @@ func (s *AccountService) AcceptInvitation(
profile := &coredata.MembershipProfile{
ID: gid.New(tenantID, coredata.MembershipProfileEntityType),
IdentityID: identity.ID,
MembershipID: membership.ID,
FullName: identity.FullName,
CreatedAt: now,