mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
Migrate all deserialization business to rustical_xml
This commit is contained in:
@@ -42,7 +42,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::NewXmlDeserializationError)?
|
||||
PropfindElement::parse_str(&body).map_err(Error::XmlDeserializationError)?
|
||||
} else {
|
||||
PropfindElement {
|
||||
prop: PropfindType::Allprop,
|
||||
|
||||
Reference in New Issue
Block a user