params needs a default argument too

main
Simon Quigley 6 days ago
parent cfbec74726
commit bc2f365925

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

Loading…
Cancel
Save