mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 20:32:48 +00:00
carddav: Require UID in address object
This commit is contained in:
@@ -86,7 +86,8 @@ pub async fn put_object<AS: AddressbookStore>(
|
||||
true
|
||||
};
|
||||
|
||||
let object = AddressObject::from_vcf(object_id, body)?;
|
||||
let object = AddressObject::from_vcf(body)?;
|
||||
assert_eq!(object.get_id(), object_id);
|
||||
addr_store
|
||||
.put_object(principal, addressbook_id, object, overwrite)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user