From 7f3d953ecb6c01fdf2e5fb6f1cf2d8cc424098a7 Mon Sep 17 00:00:00 2001 From: lostystyg Date: Sat, 30 Apr 2022 00:42:26 +0300 Subject: [PATCH] Fixed events rpc description --- src/pocketdb/web/PocketContentRpc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pocketdb/web/PocketContentRpc.cpp b/src/pocketdb/web/PocketContentRpc.cpp index 91400c1c2..8281b57db 100644 --- a/src/pocketdb/web/PocketContentRpc.cpp +++ b/src/pocketdb/web/PocketContentRpc.cpp @@ -943,8 +943,8 @@ namespace PocketWeb::PocketWebRpc RPCHelpMan GetEvents() { - return RPCHelpMan{"GetContentActions", - "\nGet profiles that performed actions(score/boos/donate) on content.\n", + return RPCHelpMan{"GetEvents", + "\nGet all events for entire chain assotiated with addresses.\n", { // TODO (rpc): provide args description }, @@ -953,8 +953,8 @@ namespace PocketWeb::PocketWebRpc }, RPCExamples{ // TODO (rpc) - HelpExampleCli("GetRandomPost", "") + - HelpExampleRpc("GetRandomPost", "") + HelpExampleCli("getevents", "") + + HelpExampleRpc("getevents", "") }, [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue {