client: do a POST instead of PUT in post_without_body
Probably a copy-paste mistake. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
1f377da07c
commit
228ce9d69c
@ -414,7 +414,7 @@ impl HttpApiClient for Client {
|
||||
let auth = self.login_auth()?;
|
||||
let uri = self.build_uri(path_and_query)?;
|
||||
let client = Arc::clone(&self.client);
|
||||
Self::authenticated_request(client, auth, http::Method::PUT, uri, None).await
|
||||
Self::authenticated_request(client, auth, http::Method::POST, uri, None).await
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user