From fca6dd961307e8e963b0560c0b2a920640f4f71d Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Wed, 22 Mar 2023 16:46:59 +0100 Subject: [PATCH] fix: reduce correct type for jwt idps (#5519) --- internal/query/projection/idp_template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/query/projection/idp_template.go b/internal/query/projection/idp_template.go index 98011cdca..53afb832a 100644 --- a/internal/query/projection/idp_template.go +++ b/internal/query/projection/idp_template.go @@ -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, }, {