mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 06:18:02 +00:00
Merge pull request #340 from erqan/fix-search
on search method: value is type str, expected obj
This commit is contained in:
commit
dbf804aacf
@ -1344,6 +1344,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri
|
|||||||
if (strMethod == "getspamposts" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
if (strMethod == "getspamposts" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
||||||
if (strMethod == "getspamposts" && n > 2) ConvertTo<boost::int64_t>(params[2]);
|
if (strMethod == "getspamposts" && n > 2) ConvertTo<boost::int64_t>(params[2]);
|
||||||
if (strMethod == "search" && n > 2) ConvertTo<boost::int64_t>(params[2]);
|
if (strMethod == "search" && n > 2) ConvertTo<boost::int64_t>(params[2]);
|
||||||
|
if (strMethod == "search" && n > 3) ConvertTo<Object>(params[3]);
|
||||||
if (strMethod == "newgroupinvite" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
if (strMethod == "newgroupinvite" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
||||||
if (strMethod == "newgroupinvite" && n > 3) ConvertTo<Array>(params[3]);
|
if (strMethod == "newgroupinvite" && n > 3) ConvertTo<Array>(params[3]);
|
||||||
if (strMethod == "newgroupdescription" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
if (strMethod == "newgroupdescription" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user