refactor from file to resource

This commit is contained in:
Lennart
2024-09-29 14:42:56 +02:00
parent e9e16a71f0
commit f2f66c95d2
8 changed files with 25 additions and 25 deletions

View File

@@ -48,7 +48,7 @@ pub async fn route_propfind<A: CheckAuthentication, R: ResourceService>(
depth: Depth,
) -> Result<
MultistatusElement<
PropstatWrapper<<R::File as Resource>::Prop>,
PropstatWrapper<<R::Resource as Resource>::Prop>,
PropstatWrapper<<R::MemberType as Resource>::Prop>,
>,
R::Error,
@@ -88,7 +88,7 @@ pub async fn route_propfind<A: CheckAuthentication, R: ResourceService>(
}
}
let resource = resource_service.get_file().await?;
let resource = resource_service.get_resource().await?;
let response = resource.propfind(&prefix, path, props).await?;
Ok(MultistatusElement {