mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
addressbook_store, add option to not return deleted objects with get_object
#61
This commit is contained in:
@@ -24,7 +24,7 @@ pub async fn route_addressbook<AS: AddressbookStore>(
|
||||
return Ok(HttpResponse::Unauthorized().body("Unauthorized"));
|
||||
}
|
||||
Ok(AddressbookPage {
|
||||
addressbook: store.get_addressbook(&owner, &addrbook_id).await?,
|
||||
addressbook: store.get_addressbook(&owner, &addrbook_id, true).await?,
|
||||
}
|
||||
.respond_to(&req))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user