Add account_id and list_id to list of parameters to replace in URIs.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0d8caf93e2
commit
59a9747c06
|
@ -353,8 +353,8 @@ bool CURLWrapper::replace_parameter_in_uri(string &uri,
|
||||||
{
|
{
|
||||||
static constexpr array replace
|
static constexpr array replace
|
||||||
{
|
{
|
||||||
"id", "nickname", "nickname_or_id",
|
"id", "nickname", "nickname_or_id", "account_id",
|
||||||
"hashtag", "permission_group"
|
"list_id", "hashtag", "permission_group"
|
||||||
};
|
};
|
||||||
if (any_of(replace.begin(), replace.end(),
|
if (any_of(replace.begin(), replace.end(),
|
||||||
[¶meter](const auto &s) { return s == parameter.first; }))
|
[¶meter](const auto &s) { return s == parameter.first; }))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user