aboutsummaryrefslogtreecommitdiff
path: root/aero-dav/src/calencoder.rs
diff options
context:
space:
mode:
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
},
}