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

This commit is contained in:
Livio Spring 2023-03-22 16:46:59 +01:00 committed by GitHub
parent e9df06df38
commit fca6dd9613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer {
Reduce: p.reduceJWTIDPAdded,
},
{
Event: instance.JWTIDPAddedEventType,
Event: instance.JWTIDPChangedEventType,
Reduce: p.reduceJWTIDPChanged,
},
{
@ -467,7 +467,7 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer {
Reduce: p.reduceJWTIDPAdded,
},
{
Event: org.JWTIDPAddedEventType,
Event: org.JWTIDPChangedEventType,
Reduce: p.reduceJWTIDPChanged,
},
{