mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-31 07:48:22 +00:00
Make AddressObject object_id an extrinsic property
This commit is contained in:
@@ -40,8 +40,9 @@ pub async fn route_import<AS: AddressbookStore, S: SubscriptionStore>(
|
||||
});
|
||||
card = card_mut.build(&HashMap::new()).unwrap();
|
||||
}
|
||||
|
||||
objects.push(card.try_into().unwrap());
|
||||
// TODO: Make nicer
|
||||
let uid = card.get_uid().unwrap();
|
||||
objects.push((uid.to_owned(), card.into()));
|
||||
}
|
||||
|
||||
if objects.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user