Activate propfind propname, was already implemented :D

This commit is contained in:
Lennart
2024-10-08 16:17:05 +02:00
parent d593a28381
commit 26f6d7d72f
4 changed files with 4 additions and 8 deletions

View File

@@ -80,8 +80,7 @@ pub async fn handle_calendar_multiget<C: CalendarStore + ?Sized>(
vec!["allprop".to_owned()]
}
PropfindType::Propname => {
// TODO: Implement
return Err(Error::NotImplemented);
vec!["propname".to_owned()]
}
PropfindType::Prop(PropElement { prop: prop_tags }) => prop_tags.into_inner(),
};

View File

@@ -222,8 +222,7 @@ pub async fn handle_calendar_query<C: CalendarStore + ?Sized>(
vec!["allprop".to_owned()]
}
PropfindType::Propname => {
// TODO: Implement
return Err(Error::NotImplemented);
vec!["propname".to_owned()]
}
PropfindType::Prop(PropElement { prop: prop_tags }) => prop_tags.into_inner(),
};

View File

@@ -54,8 +54,7 @@ pub async fn handle_sync_collection<C: CalendarStore + ?Sized>(
vec!["allprop".to_owned()]
}
PropfindType::Propname => {
// TODO: Implement
return Err(Error::NotImplemented);
vec!["propname".to_owned()]
}
PropfindType::Prop(PropElement { prop: prop_tags }) => prop_tags.into_inner(),
};

View File

@@ -66,8 +66,7 @@ pub async fn route_propfind<R: ResourceService>(
vec!["allprop".to_owned()]
}
PropfindType::Propname => {
// TODO: Implement
return Err(Error::InternalError.into());
vec!["propname".to_owned()]
}
PropfindType::Prop(PropElement { prop: prop_tags }) => prop_tags.into_inner(),
};