change name of functions

This commit is contained in:
grimhilt
2023-10-21 21:48:21 +02:00
parent 9ea1d01c27
commit 908ead5b11
14 changed files with 46 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
use std::path::PathBuf;
use std::io;
use crate::services::api::ApiError;
use crate::services::api_call::ApiCall;
use crate::services::req_props::ReqProps;
use crate::services::upload_file::UploadFile;
use crate::store::object::blob::Blob;
@@ -27,7 +28,7 @@ impl PushChange for New {
let res = UploadFile::new()
.set_url(obj.path.to_str().unwrap())
.set_file(obj.path.clone())
.send_with_err();
.send();
match res {
Err(ApiError::IncorrectRequest(err)) => {