mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 02:22:21 +00:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user