Add default argument for api_patch

main
Simon Quigley 6 days ago
parent bdb1931876
commit a2a993d713

@ -74,7 +74,7 @@ public:
const std::map<std::string, std::string>& params = {}, const std::map<std::string, std::string>& params = {},
bool build_endpoint = true, bool build_endpoint = true,
const std::string& token_secret_override = ""); const std::string& token_secret_override = "");
std::optional<std::string> api_patch(const std::string& endpoint = "", const nlohmann::json& data); std::optional<std::string> api_patch(const std::string& endpoint = "", const nlohmann::json& data = nlohmann::json{});
std::optional<std::string> api_delete(const std::string& endpoint = ""); std::optional<std::string> api_delete(const std::string& endpoint = "");
std::string build_full_url(const std::string& endpoint) const; std::string build_full_url(const std::string& endpoint) const;

Loading…
Cancel
Save