aboutsummaryrefslogtreecommitdiff
path: root/aero-dav/src/calencoder.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-03-18 15:04:46 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-03-18 15:04:46 +0100
commit4a5ae87059c41ea3e264a0ffef0d9ff4c55b8b83 (patch)
treece2c088c46d94ffd2e79b933c3504ef779ad41a3 /aero-dav/src/calencoder.rs
parent3b57d21e30302be409556711db98e16dc1a9badc (diff)
downloadaerogramme-4a5ae87059c41ea3e264a0ffef0d9ff4c55b8b83.tar.gz
aerogramme-4a5ae87059c41ea3e264a0ffef0d9ff4c55b8b83.zip
WIP DAV hierarchy
Diffstat (limited to 'aero-dav/src/calencoder.rs')
-rw-r--r--aero-dav/src/calencoder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/aero-dav/src/calencoder.rs b/aero-dav/src/calencoder.rs
index e00876d..54a35a2 100644
--- a/aero-dav/src/calencoder.rs
+++ b/aero-dav/src/calencoder.rs
@@ -206,7 +206,7 @@ impl QWrite for ResourceType {
async fn qwrite(&self, xml: &mut Writer<impl IWrite>) -> Result<(), QError> {
match self {
Self::Calendar => {
- let empty_tag = xml.create_dav_element("calendar");
+ let empty_tag = xml.create_cal_element("calendar");
xml.q.write_event_async(Event::Empty(empty_tag)).await
},
}