diff --git a/include/connection.hpp b/include/connection.hpp index d746a5c..536123e 100644 --- a/include/connection.hpp +++ b/include/connection.hpp @@ -184,7 +184,7 @@ public: [[nodiscard]] inline answer_type patch(const endpoint_variant &endpoint) { - return post(endpoint, {}); + return patch(endpoint, {}); } /*! @@ -210,7 +210,7 @@ public: [[nodiscard]] inline answer_type put(const endpoint_variant &endpoint) { - return post(endpoint, {}); + return put(endpoint, {}); } /*!