api/router.rs: rename ApiUploadMethod to ApiAsyncMethod
We can use this for uploads and downloads ...
This commit is contained in:
1 parent
379ea0edb6
commit
50cfb695ae
5 files changed
+47
-19
No files matched your search
@@ -32,7 +32,7 @@ fn backup_directory(body: Body, store: &str, archive_name: &str) -> Result<(), E
|
||||
.append_pair("time", &epoch.to_string())
|
||||
.finish();
|
||||
|
||||
let path = format!("api3/json/admin/datastore/{}/upload_catar?{}", store, query);
|
||||
let path = format!("api3/json/admin/datastore/{}/catar?{}", store, query);
|
||||
|
||||
client.upload("application/x-proxmox-backup-catar", body, &path)?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user