fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! added first event

This commit is contained in:
Iraq Jaber
2025-08-11 12:11:21 +01:00
parent ef96adf74c
commit e8adeca759

View File

@@ -2,7 +2,6 @@ package projection
import (
"context"
"fmt"
"time"
"github.com/zitadel/zitadel/internal/database"
@@ -684,7 +683,6 @@ func (p *idpTemplateProjection) Reducers() []handler.AggregateReducer {
}
func (p *idpTemplateProjection) reduceOAuthIDPAdded(event eventstore.Event) (*handler.Statement, error) {
fmt.Println("@@ >>>>>>>>>>>>>>>>>>>>>>>>>>>> OAUTH ORIGINAL")
var idpEvent idp.OAuthIDPAddedEvent
var idpOwnerType domain.IdentityProviderType
switch e := event.(type) {
@@ -2172,8 +2170,6 @@ func (p *idpTemplateProjection) reduceIDPConfigRemoved(event eventstore.Event) (
return nil, zerrors.ThrowInvalidArgumentf(nil, "HANDL-SAFet", "reduce.wrong.event.type %v", []eventstore.EventType{org.IDPConfigRemovedEventType, instance.IDPConfigRemovedEventType})
}
fmt.Println("@@ >>>>>>>>>>>>>>>>>>>>>>>>>>>> IDP CONFIG REMOVED")
return handler.NewDeleteStatement(
&idpEvent,
[]handler.Condition{