diff --git a/src/launchpad.h b/src/launchpad.h index 75c0cb5..8791b6c 100644 --- a/src/launchpad.h +++ b/src/launchpad.h @@ -74,7 +74,7 @@ public: 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); + std::optional api_patch(const std::string& endpoint = "", const nlohmann::json& data = nlohmann::json{}); std::optional api_delete(const std::string& endpoint = ""); std::string build_full_url(const std::string& endpoint) const;