mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 10:32:19 +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<()> {
|
async fn delete_calendar(&mut self, cid: &str) -> Result<()> {
|
||||||
self.events.remove(cid);
|
self.events.remove(cid);
|
||||||
|
self.save().await.unwrap();
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user