mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
rename mkcalendar method
This commit is contained in:
@@ -53,7 +53,7 @@ struct MkcalendarRequest {
|
||||
set: PropElement<MkcolCalendarProp>,
|
||||
}
|
||||
|
||||
pub async fn route_mkcol_calendar<A: CheckAuthentication, C: CalendarStore + ?Sized>(
|
||||
pub async fn route_mkcalendar<A: CheckAuthentication, C: CalendarStore + ?Sized>(
|
||||
path: Path<(String, String)>,
|
||||
body: String,
|
||||
auth: AuthInfoExtractor<A>,
|
||||
|
||||
@@ -86,9 +86,11 @@ pub fn configure_dav<A: CheckAuthentication, C: CalendarStore + ?Sized>(
|
||||
web::method(Method::DELETE)
|
||||
.to(route_delete::<A, CalendarResource<C>>),
|
||||
)
|
||||
.route(mkcalendar_method().to(
|
||||
calendar::methods::mkcalendar::route_mkcol_calendar::<A, C>,
|
||||
)),
|
||||
.route(
|
||||
mkcalendar_method().to(
|
||||
calendar::methods::mkcalendar::route_mkcalendar::<A, C>,
|
||||
),
|
||||
),
|
||||
)
|
||||
.service(
|
||||
web::resource("/{event}")
|
||||
|
||||
Reference in New Issue
Block a user