Skip to content

Commit

Permalink
fix: system identity sets internal.org_id
Browse files Browse the repository at this point in the history
The system identity record must also set internal.org_id.
  • Loading branch information
subpop committed Jul 15, 2022
1 parent 8d59437 commit d6bc2b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ func NewSystemIdentity(identityTemplate Identity, systemTemplate System) (*ident
id.Identity.System = system

id.Identity.Type = ptrstring("System")
id.Identity.Internal = &identity.Internal{
OrgID: id.Identity.OrgID,
}

return id, nil
}
Expand Down

0 comments on commit d6bc2b5

Please sign in to comment.