From 27a1269ba6dd73d52fe1f8bed1184023ffa01b13 Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Thu, 1 May 2025 07:53:48 -0700 Subject: [PATCH] Fix missing people id Signed-off-by: Bryan Frimin --- pkg/usrmgr/usrmgr.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/usrmgr/usrmgr.go b/pkg/usrmgr/usrmgr.go index 0ddc61455..9d0057975 100644 --- a/pkg/usrmgr/usrmgr.go +++ b/pkg/usrmgr/usrmgr.go @@ -767,7 +767,9 @@ func (s Service) ConfirmInvitation(ctx context.Context, tokenString string, pass return fmt.Errorf("cannot insert user organization: %w", err) } + peopleID := gid.New(token.Data.OrganizationID.TenantID(), coredata.PeopleEntityType) people := coredata.People{ + ID: peopleID, OrganizationID: token.Data.OrganizationID, UserID: &user.ID, FullName: token.Data.FullName,