mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 04:42:15 +00:00
Fix toml_store not saving on calendar deletion
This commit is contained in:
@@ -68,6 +68,7 @@ impl CalendarStore for TomlCalendarStore {
|
||||
|
||||
async fn delete_calendar(&mut self, cid: &str) -> Result<()> {
|
||||
self.events.remove(cid);
|
||||
self.save().await.unwrap();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user