diff options
author | tastytea | 2020-01-14 22:50:14 +0100 |
---|---|---|
committer | tastytea | 2020-01-14 22:50:14 +0100 |
commit | 59a9747c06ef72d362bf51888b84c6116952e64d (patch) | |
tree | 8043ed93533a77304bbeeb9cf983722deca68bcc /src | |
parent | 0d8caf93e229bdd45d57aedfeaf4ed6c901f31d7 (diff) | |
download | mastodonpp-59a9747c06ef72d362bf51888b84c6116952e64d.tar mastodonpp-59a9747c06ef72d362bf51888b84c6116952e64d.tar.gz mastodonpp-59a9747c06ef72d362bf51888b84c6116952e64d.zip |
Add account_id and list_id to list of parameters to replace in URIs.
Diffstat (limited to 'src')
-rw-r--r-- | src/curl_wrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/curl_wrapper.cpp b/src/curl_wrapper.cpp index 0fb0540..b034bf9 100644 --- a/src/curl_wrapper.cpp +++ b/src/curl_wrapper.cpp @@ -353,8 +353,8 @@ bool CURLWrapper::replace_parameter_in_uri(string &uri, { static constexpr array replace { - "id", "nickname", "nickname_or_id", - "hashtag", "permission_group" + "id", "nickname", "nickname_or_id", "account_id", + "list_id", "hashtag", "permission_group" }; if (any_of(replace.begin(), replace.end(), [¶meter](const auto &s) { return s == parameter.first; })) |