diff --git a/internal/iam/repository/eventsourcing/model/idp_config.go b/internal/iam/repository/eventsourcing/model/idp_config.go index 8c0f25be8..2da5c583a 100644 --- a/internal/iam/repository/eventsourcing/model/idp_config.go +++ b/internal/iam/repository/eventsourcing/model/idp_config.go @@ -38,7 +38,7 @@ func (c *IDPConfig) Changes(changed *IDPConfig) map[string]interface{} { if changed.Name != "" && c.Name != changed.Name { changes["name"] = changed.Name } - if changed.StylingType != changed.StylingType { + if c.StylingType != changed.StylingType { changes["stylingType"] = changed.StylingType } return changes