fix: reduce correct type for jwt idps (#5519)

This commit is contained in:
Livio Spring
2023-03-22 15:46:59 +00:00
committed by GitHub
parent e9df06df38
commit fca6dd9613
+2 -2
View File
@@ -350,7 +350,7 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer {
Reduce: p.reduceJWTIDPAdded, Reduce: p.reduceJWTIDPAdded,
}, },
{ {
Event: instance.JWTIDPAddedEventType, Event: instance.JWTIDPChangedEventType,
Reduce: p.reduceJWTIDPChanged, Reduce: p.reduceJWTIDPChanged,
}, },
{ {
@@ -467,7 +467,7 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer {
Reduce: p.reduceJWTIDPAdded, Reduce: p.reduceJWTIDPAdded,
}, },
{ {
Event: org.JWTIDPAddedEventType, Event: org.JWTIDPChangedEventType,
Reduce: p.reduceJWTIDPChanged, Reduce: p.reduceJWTIDPChanged,
}, },
{ {