From 990b9530556693d244286cd36af9d732d890020f Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Sun, 15 Jun 2025 10:37:51 +0200 Subject: [PATCH] Fix typo on store preventing us from deleting calendar objects --- crates/store/src/combined_calendar_store.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/store/src/combined_calendar_store.rs b/crates/store/src/combined_calendar_store.rs index b016f27..d125b37 100644 --- a/crates/store/src/combined_calendar_store.rs +++ b/crates/store/src/combined_calendar_store.rs @@ -80,11 +80,13 @@ impl CalendarStore for CombinedCalendarSto use_trashbin: bool, ) -> Result<(), Error> { if cal_id.starts_with(BIRTHDAYS_PREFIX) { - Err(Error::ReadOnly) - } else { self.birthday_store .delete_object(principal, cal_id, object_id, use_trashbin) .await + } else { + self.cal_store + .delete_object(principal, cal_id, object_id, use_trashbin) + .await } } @@ -237,4 +239,3 @@ impl CalendarStore for CombinedCalendarSto } } } -