mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 16:32:29 +00:00
Switch event representation such that properties can be extracted
This commit is contained in:
@@ -60,7 +60,7 @@ impl<C: CalendarStore> Resource for EventResource<C> {
|
||||
write_string_prop(writer, "getetag", &self.event.get_etag())?;
|
||||
}
|
||||
"calendar-data" => {
|
||||
write_string_prop(writer, "C:calendar-data", self.event.as_ics())?;
|
||||
write_string_prop(writer, "C:calendar-data", &self.event.get_ics())?;
|
||||
}
|
||||
"getcontenttype" => {
|
||||
write_string_prop(writer, "getcontenttype", "text/calendar;charset=utf-8")?;
|
||||
|
||||
Reference in New Issue
Block a user