api-names slightly kinder to json serializers
This commit is contained in:
parent
5a3b8948b6
commit
c6d0cd47b3
|
@ -271,8 +271,8 @@ proc initRestApi*(node: CodexNodeRef, conf: CodexConf): RestRouter =
|
|||
node.discovery.dhtRecord.get.toURI
|
||||
else:
|
||||
"",
|
||||
"engine-peers": formatEnginePeers(node.engine.peers.peers),
|
||||
"switch-peers": formatSwitchPeers(node.switch.peerStore[KeyBook].book),
|
||||
"enginePeers": formatEnginePeers(node.engine.peers.peers),
|
||||
"switchPeers": formatSwitchPeers(node.switch.peerStore[KeyBook].book),
|
||||
"codex": {
|
||||
"version": $codexVersion,
|
||||
"revision": $codexRevision
|
||||
|
|
Loading…
Reference in New Issue