diff options
Diffstat (limited to 'include/connection.hpp')
-rw-r--r-- | include/connection.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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, {}); } /*! |