mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Migrate propfind and report to rustical_xml
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use super::methods::mkcol::route_mkcol;
|
||||
// use super::methods::report::route_report_addressbook;
|
||||
use super::methods::report::route_report_addressbook;
|
||||
use super::prop::{SupportedAddressData, SupportedReportSet};
|
||||
use crate::address_object::resource::AddressObjectResource;
|
||||
use crate::principal::PrincipalResource;
|
||||
@@ -242,9 +242,8 @@ impl<AS: AddressbookStore + ?Sized> ResourceService for AddressbookResourceServi
|
||||
#[inline]
|
||||
fn actix_additional_routes(res: actix_web::Resource) -> actix_web::Resource {
|
||||
let mkcol_method = web::method(Method::from_str("MKCOL").unwrap());
|
||||
// TODO: Re-enable REPORT
|
||||
// let report_method = web::method(Method::from_str("REPORT").unwrap());
|
||||
let report_method = web::method(Method::from_str("REPORT").unwrap());
|
||||
res.route(mkcol_method.to(route_mkcol::<AS>))
|
||||
// .route(report_method.to(route_report_addressbook::<AS>))
|
||||
.route(report_method.to(route_report_addressbook::<AS>))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user