fix: include missing field in repository (#358)

Included missing field in repository.
This commit is contained in:
sagit
2026-03-20 22:20:15 +08:00
committed by GitHub
+4 -3
View File
@@ -677,9 +677,10 @@ func (r *Repository) ListNodes() ([]map[string]interface{}, error) {
"version": nullableString(n.Version), "version": nullableString(n.Version),
"http": n.HTTP, "tls": n.TLS, "socks": n.Socks, "http": n.HTTP, "tls": n.TLS, "socks": n.Socks,
"status": n.Status, "isRemote": n.IsRemote, "status": n.Status, "isRemote": n.IsRemote,
"remoteUrl": nullableString(n.RemoteURL), "remoteUrl": nullableString(n.RemoteURL),
"remoteToken": nullableString(n.RemoteToken), "remoteToken": nullableString(n.RemoteToken),
"remoteConfig": nullableString(n.RemoteConfig), "remoteConfig": nullableString(n.RemoteConfig),
"expiryReminderDismissed": n.ExpiryReminderDismissed,
}) })
} }
return items, nil return items, nil