From 59a9747c06ef72d362bf51888b84c6116952e64d Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 14 Jan 2020 22:50:14 +0100 Subject: [PATCH] Add account_id and list_id to list of parameters to replace in URIs. --- src/curl_wrapper.cpp | 4 ++-- 1 file 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; }))