Fix patch() and put() requests without parameters.
Connection::patch() and Connection::put() without parameters were making a POST request.
This commit is contained in:
parent
905a5aae0e
commit
03b097c6a6
|
@ -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, {});
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in New Issue
Block a user