minor refactoring

This commit is contained in:
Lennart
2024-07-28 21:03:02 +02:00
parent 6ac2948617
commit f497698589
6 changed files with 22 additions and 31 deletions

View File

@@ -1,7 +1,6 @@
use actix_web::HttpRequest;
use rustical_dav::{
methods::propfind::{PropElement, PropfindType},
namespace::Namespace,
resource::HandlePropfind,
xml::{multistatus::PropstatWrapper, MultistatusElement},
};
@@ -135,9 +134,6 @@ pub async fn handle_calendar_query<C: CalendarStore + ?Sized>(
Ok(MultistatusElement {
responses,
member_responses: vec![],
ns_dav: Namespace::Dav.as_str(),
ns_caldav: Namespace::CalDAV.as_str(),
ns_ical: Namespace::ICal.as_str(),
..Default::default()
})
}