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

Co-authored-by: Fabi <[email protected]>
This commit is contained in:
Livio Spring
2023-07-07 14:15:19 +00:00
committed by GitHub
co-authored by Fabi
parent 94fdb9a022
commit a5b4319f1f
3 changed files with 12 additions and 14 deletions
+3
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