From bc2f3659256961f938a69ba319e73b3d05651661 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 16 Dec 2024 18:51:08 -0600 Subject: [PATCH] params needs a default argument too --- src/launchpad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launchpad.h b/src/launchpad.h index b93588d..75c0cb5 100644 --- a/src/launchpad.h +++ b/src/launchpad.h @@ -71,7 +71,7 @@ public: std::optional api_get(const std::string& endpoint = "", const std::map& params = {}) const; std::optional api_post(const std::string& endpoint = "", - const std::map& params, + const std::map& params = {}, bool build_endpoint = true, const std::string& token_secret_override = ""); std::optional api_patch(const std::string& endpoint = "", const nlohmann::json& data);