From 29164ac17d0da9ad5f8ead8f6d87fa8a9bdf30a3 Mon Sep 17 00:00:00 2001 From: lostystyg Date: Mon, 15 Aug 2022 11:22:23 +0400 Subject: [PATCH] Fixed help for getnotifications --- src/pocketdb/web/PocketContentRpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketdb/web/PocketContentRpc.cpp b/src/pocketdb/web/PocketContentRpc.cpp index 924a4ba4b..e095bc8e7 100644 --- a/src/pocketdb/web/PocketContentRpc.cpp +++ b/src/pocketdb/web/PocketContentRpc.cpp @@ -1385,7 +1385,7 @@ namespace PocketWeb::PocketWebRpc "\nGet all possible notifications for all addresses for concrete block height.\n", { {"height", RPCArg::Type::NUM, RPCArg::Optional::NO, "height of block to search in"}, - {"filters", RPCArg::Type::ARR, RPCArg::Optional::NO, "type(s) of notifications. If empty or null - search for all types", + {"filters", RPCArg::Type::ARR, RPCArg::Optional::OMITTED_NAMED_ARG, "type(s) of notifications. If empty or null - search for all types", { {ShortTxTypeConvertor::toString(ShortTxType::PocketnetTeam), RPCArg::Type::STR, RPCArg::Optional::OMITTED_NAMED_ARG, "Posts from PocketnetTeam acc"}, {ShortTxTypeConvertor::toString(ShortTxType::Money), RPCArg::Type::STR, RPCArg::Optional::OMITTED_NAMED_ARG, "recieved money"},