Fix toml_store not saving on calendar deletion

This commit is contained in:
Lennart
2024-05-29 15:52:51 +02:00
parent 0f3c3d5beb
commit fd4fdb8f52

View File

@@ -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(())
} }