mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 02:22:21 +00:00
calendarobject: Rename get_id to get_uid
This commit is contained in:
@@ -61,7 +61,7 @@ fn objects_response(
|
||||
) -> Result<MultistatusElement<CalendarObjectPropWrapper, String>, Error> {
|
||||
let mut responses = Vec::new();
|
||||
for object in objects {
|
||||
let path = format!("{}/{}.ics", path, object.get_id());
|
||||
let path = format!("{}/{}.ics", path, object.get_uid());
|
||||
responses.push(
|
||||
CalendarObjectResource {
|
||||
object,
|
||||
|
||||
@@ -33,7 +33,7 @@ pub async fn handle_sync_collection<C: CalendarStore>(
|
||||
|
||||
let mut responses = Vec::new();
|
||||
for object in new_objects {
|
||||
let path = format!("{}/{}.ics", path, object.get_id());
|
||||
let path = format!("{}/{}.ics", path, object.get_uid());
|
||||
responses.push(
|
||||
CalendarObjectResource {
|
||||
object,
|
||||
|
||||
Reference in New Issue
Block a user