minor cleaning
This commit is contained in:
1 parent
7cfd572ad0
commit
eabf707844
7 files changed
+3
-71
No files matched your search
@@ -1,7 +1,7 @@
|
||||
use crate::services::api::{ApiBuilder, ApiError};
|
||||
use std::path::PathBuf;
|
||||
use reqwest::{Method, Response, Error};
|
||||
use crate::utils::api::{get_local_path_t, ApiProps};
|
||||
use crate::utils::api::ApiProps;
|
||||
use std::fs::OpenOptions;
|
||||
use std::io::{self, Write};
|
||||
|
||||
@@ -53,7 +53,6 @@ impl DownloadFiles {
|
||||
}
|
||||
|
||||
fn write_file(path: PathBuf, content: &Vec<u8>) -> io::Result<()> {
|
||||
dbg!(path.clone());
|
||||
let mut f = OpenOptions::new()
|
||||
.write(true)
|
||||
.create(true)
|
||||
|
||||
Reference in new issue
Block a user