diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-04-24 17:35:00 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-04-24 17:35:00 +0200 |
commit | e1d7cf88afd9baab67d53823e95cb1b7f240802f (patch) | |
tree | e7ececccad85817d3f11700cf5cac4daf33d99e0 /aero-collections/src/calendar/mod.rs | |
parent | 52d767edae38cc0d3effd216152ff2dcf6d19239 (diff) | |
download | aerogramme-e1d7cf88afd9baab67d53823e95cb1b7f240802f.tar.gz aerogramme-e1d7cf88afd9baab67d53823e95cb1b7f240802f.zip |
Working ICS GET/PUT/DELETE
Diffstat (limited to 'aero-collections/src/calendar/mod.rs')
-rw-r--r-- | aero-collections/src/calendar/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aero-collections/src/calendar/mod.rs b/aero-collections/src/calendar/mod.rs index feae73e..028cf87 100644 --- a/aero-collections/src/calendar/mod.rs +++ b/aero-collections/src/calendar/mod.rs @@ -155,7 +155,7 @@ impl CalendarInternal { async fn delete(&mut self, blob_id: BlobId) -> Result<Token> { let davstate = self.davdag.state(); - if davstate.table.contains_key(&blob_id) { + if !davstate.table.contains_key(&blob_id) { bail!("Cannot delete event that doesn't exist"); } |