mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:47:32 +00:00
refactor: remove commandNew struct (#3465)
* refactor: remove commandNew struct * requested fixes
This commit is contained in:
@@ -181,7 +181,7 @@ func (c *Commands) DeleteAction(ctx context.Context, actionID, resourceOwner str
|
||||
events := []eventstore.Command{
|
||||
action.NewRemovedEvent(ctx, actionAgg, existingAction.Name),
|
||||
}
|
||||
orgAgg := org.NewAggregate(resourceOwner, resourceOwner).Aggregate
|
||||
orgAgg := org.NewAggregate(resourceOwner).Aggregate
|
||||
for _, flowType := range flowTypes {
|
||||
events = append(events, org.NewTriggerActionsCascadeRemovedEvent(ctx, &orgAgg, flowType, actionID))
|
||||
}
|
||||
|
Reference in New Issue
Block a user