Migrate mkcol/mkcalendar to rustical_xml

This commit is contained in:
Lennart
2024-12-23 23:13:18 +01:00
parent 72844aa94e
commit 92b7be5591
6 changed files with 100 additions and 46 deletions

View File

@@ -31,7 +31,7 @@ pub async fn route_report_addressbook<AS: AddressbookStore + ?Sized>(
return Err(Error::Unauthorized);
}
let request = ReportRequest::parse_str(&body).map_err(crate::Error::NewXmlDecodeError)?;
let request = ReportRequest::parse_str(&body)?;
Ok(match request.clone() {
ReportRequest::AddressbookMultiget(addr_multiget) => {