aboutsummaryrefslogtreecommitdiff
path: root/aero-dav/src/caldecoder.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-03-20 14:46:07 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-03-20 14:46:07 +0100
commit22e4f295556fdd4c25cf43983a56ff74acab7739 (patch)
treeac1af9b3aa72dcf0475d7dfbf2468c3c517380eb /aero-dav/src/caldecoder.rs
parent3c2d4e69876f4e8af0e3fbf5efa774a2084be67e (diff)
downloadaerogramme-22e4f295556fdd4c25cf43983a56ff74acab7739.tar.gz
aerogramme-22e4f295556fdd4c25cf43983a56ff74acab7739.zip
working report calendar-multiget
Diffstat (limited to 'aero-dav/src/caldecoder.rs')
-rw-r--r--aero-dav/src/caldecoder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/aero-dav/src/caldecoder.rs b/aero-dav/src/caldecoder.rs
index f92cf09..008668e 100644
--- a/aero-dav/src/caldecoder.rs
+++ b/aero-dav/src/caldecoder.rs
@@ -69,7 +69,7 @@ impl<E: dav::Extension> QRead<CalendarQuery<E>> for CalendarQuery<E> {
impl<E: dav::Extension> QRead<CalendarMultiget<E>> for CalendarMultiget<E> {
async fn qread(xml: &mut Reader<impl IRead>) -> Result<Self, ParsingError> {
- xml.open(CAL_URN, "free-busy-query").await?;
+ xml.open(CAL_URN, "calendar-multiget").await?;
let mut selector = None;
let mut href = Vec::new();
@@ -93,7 +93,7 @@ impl<E: dav::Extension> QRead<CalendarMultiget<E>> for CalendarMultiget<E> {
impl QRead<FreeBusyQuery> for FreeBusyQuery {
async fn qread(xml: &mut Reader<impl IRead>) -> Result<Self, ParsingError> {
- xml.open(CAL_URN, "calendar-multiple-get").await?;
+ xml.open(CAL_URN, "free-busy-query").await?;
let range = xml.find().await?;
xml.close().await?;
Ok(FreeBusyQuery(range))