propfind does not need to be async

This commit is contained in:
Lennart
2024-10-08 16:13:48 +02:00
parent 97457d72d3
commit d593a28381
5 changed files with 18 additions and 25 deletions

View File

@@ -90,11 +90,11 @@ pub async fn handle_calendar_multiget<C: CalendarStore + ?Sized>(
let mut responses = Vec::new();
for object in objects {
let path = format!("{}/{}", req.path(), object.get_uid());
responses.push(
CalendarObjectResource::from(object)
.propfind(&path, props.clone(), req.resource_map())
.await?,
);
responses.push(CalendarObjectResource::from(object).propfind(
&path,
props.clone(),
req.resource_map(),
)?);
}
let not_found_responses = not_found