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

@@ -75,11 +75,11 @@ pub async fn handle_sync_collection<C: CalendarStore + ?Sized>(
vec![principal, cid, &object.get_uid()],
)
.unwrap();
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(),
)?);
}
for object_uid in deleted_objects {