some refactoring

This commit is contained in:
Lennart
2025-01-01 15:07:22 +01:00
parent 72688f1761
commit 646919587e
7 changed files with 19 additions and 26 deletions

View File

@@ -99,7 +99,7 @@ pub async fn handle_addressbook_multiget<AS: AddressbookStore + ?Sized>(
object,
principal: principal.to_owned(),
}
.propfind(&path, props.clone(), user, req.resource_map())?,
.propfind(&path, &props, user, req.resource_map())?,
);
}

View File

@@ -91,7 +91,7 @@ pub async fn handle_sync_collection<AS: AddressbookStore + ?Sized>(
object,
principal: principal.to_owned(),
}
.propfind(&path, props.clone(), user, req.resource_map())?,
.propfind(&path, &props, user, req.resource_map())?,
);
}