mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-09 07:20:26 +00:00
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 auth = self.login_auth()?;
|
||||||
let uri = self.build_uri(path_and_query)?;
|
let uri = self.build_uri(path_and_query)?;
|
||||||
let client = Arc::clone(&self.client);
|
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…
Reference in New Issue
Block a user