mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-02 09:54:29 +00:00
[listgroups
] convert second parameter to bool.
This commit is contained in:
parent
99c7123941
commit
9012610247
@ -1350,6 +1350,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri
|
||||
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 > 3) ConvertTo<Object>(params[3]);
|
||||
if (strMethod == "listgroups" && n > 1) ConvertTo<bool>(params[1]);
|
||||
if (strMethod == "newgroupinvite" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
||||
if (strMethod == "newgroupinvite" && n > 3) ConvertTo<Array>(params[3]);
|
||||
if (strMethod == "newgroupdescription" && n > 1) ConvertTo<boost::int64_t>(params[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user