From 46bc987b286ba330b1724c7154fb8f558b6a096c Mon Sep 17 00:00:00 2001 From: Fabi <38692350+fgerschwiler@users.noreply.github.com> Date: Tue, 20 Oct 2020 08:23:56 +0200 Subject: [PATCH] fix: idp changes (#872) --- internal/iam/repository/eventsourcing/model/idp_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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