minor changes
This commit is contained in:
parent
45f8d486d8
commit
2a0fe6d1d1
@ -17,3 +17,6 @@ regex = "1.8.3"
|
||||
lazy_static = "1.4.0"
|
||||
glob = "0.3.1"
|
||||
chrono = "0.4.26"
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
@ -40,7 +40,6 @@ impl ApiBuilder {
|
||||
let mut url = String::from(host);
|
||||
url.push_str("/remote.php/dav/files/");
|
||||
url.push_str(username.unwrap());
|
||||
url.push_str("/");
|
||||
url.push_str(&root);
|
||||
url.push_str("/");
|
||||
url.push_str(path);
|
||||
|
||||
@ -167,8 +167,8 @@ impl ReqProps {
|
||||
} else {
|
||||
// end of balises to get then start over for
|
||||
// next object if want multiple
|
||||
values.push(content.clone());
|
||||
if multiple {
|
||||
values.push(content.clone());
|
||||
iter = self.xml_balises.iter();
|
||||
val = iter.next();
|
||||
content = ObjProps::new();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user