rename dav::XmlError

This commit is contained in:
Lennart
2025-01-23 18:17:55 +01:00
parent 0f9f98e6ed
commit a3acfb8969
3 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ pub(crate) async fn route_propfind<R: ResourceService>(
// A request body is optional. If empty we MUST return all props
let propfind: PropfindElement = if !body.is_empty() {
PropfindElement::parse_str(&body).map_err(Error::XmlDeserializationError)?
PropfindElement::parse_str(&body).map_err(Error::XmlError)?
} else {
PropfindElement {
prop: PropfindType::Allprop,