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