add deletion of file

This commit is contained in:
grimhilt
2023-06-15 17:33:12 +02:00
parent 35adfab983
commit 49d83c2900
5 changed files with 93 additions and 65 deletions

View File

@@ -1,9 +1,8 @@
use xml::reader::{EventReader, XmlEvent};
use std::fs::File;
use crate::services::api::{ApiBuilder, ApiError};
use std::path::PathBuf;
use std::io::{self, Read};
use reqwest::{Method, IntoUrl, Response, Error};
use std::io::{Read};
use reqwest::{Method, Response, Error};
pub struct UploadFile {
api_builder: ApiBuilder,