From b82daeb4e28724fcdbe9c5180911c53f957abc2a Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:33:51 +0200 Subject: [PATCH] remove todo The annoyance of making sure the stored is ETag is correct is larger than the cost of just keeping things as they are --- crates/store/src/model/object.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/store/src/model/object.rs b/crates/store/src/model/object.rs index 4f2f213..3a4a875 100644 --- a/crates/store/src/model/object.rs +++ b/crates/store/src/model/object.rs @@ -110,7 +110,6 @@ impl CalendarObject { &self.uid } pub fn get_etag(&self) -> String { - // TODO: Probably save it in the database so we don't have to recompute every time? let mut hasher = Sha256::new(); hasher.update(&self.uid); hasher.update(self.get_ics());