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

@@ -78,7 +78,7 @@ pub(crate) async fn route_proppatch<R: ResourceService>(
// Extract operations
let PropertyupdateElement::<SetPropertyPropWrapperWrapper<<R::Resource as Resource>::Prop>>(
operations,
) = XmlDocument::parse_str(&body).map_err(Error::XmlDeserializationError)?;
) = XmlDocument::parse_str(&body).map_err(Error::XmlError)?;
let mut resource = resource_service.get_resource(&path).await?;
let privileges = resource.get_user_privileges(&user)?;