diff --git a/internal/home/clients.go b/internal/home/clients.go index 409d4039..59b9cbe3 100644 --- a/internal/home/clients.go +++ b/internal/home/clients.go @@ -417,6 +417,11 @@ func (clients *clientsContainer) UpstreamConfigByID( ) c.UpstreamConfig = conf + err = clients.storage.Update(c.Name, c) + if err != nil { + return nil, fmt.Errorf("setting upstream config: %w", err) + } + return conf, nil }