diff --git a/internal/watcher/watcher.go b/internal/watcher/watcher.go index b4ed25a0..593768c8 100644 --- a/internal/watcher/watcher.go +++ b/internal/watcher/watcher.go @@ -951,6 +951,11 @@ func (w *Watcher) SnapshotCoreAuths() []*coreauth.Auth { id = rel } + proxyURL := "" + if p, ok := metadata["proxy_url"].(string); ok { + proxyURL = p + } + a := &coreauth.Auth{ ID: id, Provider: provider, @@ -960,6 +965,7 @@ func (w *Watcher) SnapshotCoreAuths() []*coreauth.Auth { "source": full, "path": full, }, + ProxyURL: proxyURL, Metadata: metadata, CreatedAt: now, UpdatedAt: now,