fix: ignore unchanged console redirect_uris when adding an instance domain (#6156)

Co-authored-by: Fabi <fabienne@zitadel.com>
This commit is contained in:
Livio Spring
2023-07-07 16:15:19 +02:00
committed by GitHub
parent 94fdb9a022
commit a5b4319f1f
3 changed files with 12 additions and 14 deletions

View File

@@ -501,6 +501,9 @@ func (c *Commands) ChangeSystemConfig(ctx context.Context, externalDomain string
if err != nil {
return err
}
if len(cmds) == 0 {
continue
}
_, err = c.eventstore.Push(ctx, cmds...)
if err != nil {
return err