refactor: debug api connection - ping peer method

This commit is contained in:
Vojtech Simetka
2021-04-02 10:50:40 +02:00
parent 53dd4e1741
commit f949bdffc6
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export const beeDebugApi = {
return beeJSDebugClient().getTopology()
},
ping(peerId: string) {
return beeDebugApiClient().post(`/pingpong/${peerId}`)
return beeJSDebugClient().pingPeer(peerId)
}
},
balance: {