Add prefix to xml output

This commit is contained in:
Lennart
2024-06-01 14:41:42 +02:00
parent 7dcc29302a
commit c84ee9807d
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ pub async fn route_report_calendar<A: CheckAuthentication, C: CalendarStore + ?S
);
}
let mut output = String::new();
let mut output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n".to_owned();
let mut ser = quick_xml::se::Serializer::new(&mut output);
ser.indent(' ', 4);
MultistatusElement {