mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 07:02:24 +00:00
some refactoring
This commit is contained in:
@@ -93,7 +93,7 @@ pub async fn handle_calendar_multiget<C: CalendarStore + ?Sized>(
|
||||
object,
|
||||
principal: principal.to_owned(),
|
||||
}
|
||||
.propfind(&path, props.clone(), user, req.resource_map())?,
|
||||
.propfind(&path, &props, user, req.resource_map())?,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ pub async fn handle_calendar_query<C: CalendarStore + ?Sized>(
|
||||
object,
|
||||
principal: principal.to_owned(),
|
||||
}
|
||||
.propfind(&path, props.clone(), user, req.resource_map())?,
|
||||
.propfind(&path, &props, user, req.resource_map())?,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ pub async fn handle_sync_collection<C: CalendarStore + ?Sized>(
|
||||
object,
|
||||
principal: principal.to_owned(),
|
||||
}
|
||||
.propfind(&path, props.clone(), user, req.resource_map())?,
|
||||
.propfind(&path, &props, user, req.resource_map())?,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user