minor changes

This commit is contained in:
grimhilt 2023-06-29 23:52:40 +02:00
parent 45f8d486d8
commit 2a0fe6d1d1
3 changed files with 4 additions and 2 deletions

View File

@ -17,3 +17,6 @@ regex = "1.8.3"
lazy_static = "1.4.0" lazy_static = "1.4.0"
glob = "0.3.1" glob = "0.3.1"
chrono = "0.4.26" chrono = "0.4.26"
[profile.release]
debug = true

View File

@ -40,7 +40,6 @@ impl ApiBuilder {
let mut url = String::from(host); let mut url = String::from(host);
url.push_str("/remote.php/dav/files/"); url.push_str("/remote.php/dav/files/");
url.push_str(username.unwrap()); url.push_str(username.unwrap());
url.push_str("/");
url.push_str(&root); url.push_str(&root);
url.push_str("/"); url.push_str("/");
url.push_str(path); url.push_str(path);

View File

@ -167,8 +167,8 @@ impl ReqProps {
} else { } else {
// end of balises to get then start over for // end of balises to get then start over for
// next object if want multiple // next object if want multiple
if multiple {
values.push(content.clone()); values.push(content.clone());
if multiple {
iter = self.xml_balises.iter(); iter = self.xml_balises.iter();
val = iter.next(); val = iter.next();
content = ObjProps::new(); content = ObjProps::new();