mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 08:12:24 +00:00
rewrite combined calendar store in preparation for sharing
This commit is contained in:
@@ -40,10 +40,9 @@ pub fn make_app<AS: AddressbookStore, CS: CalendarStore, S: SubscriptionStore>(
|
||||
dav_push_enabled: bool,
|
||||
session_cookie_samesite_strict: bool,
|
||||
) -> Router<()> {
|
||||
let combined_cal_store = Arc::new(CombinedCalendarStore::new(
|
||||
cal_store.clone(),
|
||||
ContactBirthdayStore::new(addr_store.clone()).into(),
|
||||
));
|
||||
let birthday_store = Arc::new(ContactBirthdayStore::new(addr_store.clone()));
|
||||
let combined_cal_store =
|
||||
Arc::new(CombinedCalendarStore::new(cal_store.clone()).with_store(birthday_store));
|
||||
|
||||
let mut router = Router::new()
|
||||
.merge(caldav_router(
|
||||
|
||||
Reference in New Issue
Block a user