fix(backend): include removed SMTP config in Query (#6624) (#6673)

closes #6624

Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
Fabian Deifuß 2023-10-10 14:45:45 +02:00 committed by GitHub
parent e66d476c47
commit 0180779d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,7 @@ func (wm *InstanceSMTPConfigWriteModel) Query() *eventstore.SearchQueryBuilder {
AggregateIDs(wm.AggregateID). AggregateIDs(wm.AggregateID).
EventTypes( EventTypes(
instance.SMTPConfigAddedEventType, instance.SMTPConfigAddedEventType,
instance.SMTPConfigRemovedEventType,
instance.SMTPConfigChangedEventType, instance.SMTPConfigChangedEventType,
instance.SMTPConfigPasswordChangedEventType, instance.SMTPConfigPasswordChangedEventType,
instance.InstanceDomainAddedEventType, instance.InstanceDomainAddedEventType,