mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 02:22:21 +00:00
caldav: Refactor DELETE
This commit is contained in:
@@ -60,7 +60,10 @@ pub fn configure_dav<A: CheckAuthentication, C: CalendarStore + ?Sized>(
|
||||
.route(
|
||||
mkcalendar_method().to(calendar::methods::mkcalendar::route_mkcol_calendar::<A, C>),
|
||||
)
|
||||
.route(web::method(Method::DELETE).to(calendar::methods::delete_calendar::<A, C>)),
|
||||
.route(
|
||||
web::method(Method::DELETE)
|
||||
.to(calendar::methods::delete::route_delete_calendar::<A, C>),
|
||||
),
|
||||
)
|
||||
.service(
|
||||
web::resource("/{principal}/{calendar}/{event}")
|
||||
|
||||
Reference in New Issue
Block a user