mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 14:37:40 +00:00
fix: set instanceID correctly in org project mapping (#3789)
This commit is contained in:
parent
b1da8975f5
commit
7b0f0b81a3
@ -106,7 +106,7 @@ func (p *OrgProjectMapping) Reduce(event *es_models.Event) (err error) {
|
|||||||
mapping.OrgID = projectGrant.GrantedOrgID
|
mapping.OrgID = projectGrant.GrantedOrgID
|
||||||
mapping.ProjectID = event.AggregateID
|
mapping.ProjectID = event.AggregateID
|
||||||
mapping.ProjectGrantID = projectGrant.GrantID
|
mapping.ProjectGrantID = projectGrant.GrantID
|
||||||
mapping.InstanceID = projectGrant.InstanceID
|
mapping.InstanceID = event.InstanceID
|
||||||
case project.GrantRemovedType:
|
case project.GrantRemovedType:
|
||||||
projectGrant := new(view_model.ProjectGrant)
|
projectGrant := new(view_model.ProjectGrant)
|
||||||
projectGrant.SetData(event)
|
projectGrant.SetData(event)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user