Skip to content

Commit

Permalink
Fixed events rpc description
Browse files Browse the repository at this point in the history
  • Loading branch information
lostystyg committed Apr 29, 2022
1 parent 192ad0c commit 7f3d953
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pocketdb/web/PocketContentRpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand All @@ -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
{
Expand Down

0 comments on commit 7f3d953

Please sign in to comment.