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
This commit is contained in:
Lennart
2024-10-08 14:33:51 +02:00
parent 5c77dbc607
commit b82daeb4e2

View File

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