Update parameter replacements for Pleroma 2.0.0.
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
854d2f67af
commit
00056c224e
|
@ -355,8 +355,9 @@ bool CURLWrapper::replace_parameter_in_uri(string &uri,
|
||||||
{
|
{
|
||||||
static constexpr array replace
|
static constexpr array replace
|
||||||
{
|
{
|
||||||
"id", "nickname", "nickname_or_id", "account_id",
|
"id", "nickname", "nickname_or_id", "account_id", "list_id",
|
||||||
"list_id", "hashtag", "permission_group"
|
"hashtag", "permission_group", "instance", "report_id", "name",
|
||||||
|
"emoji"
|
||||||
};
|
};
|
||||||
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