carddav: fix file suffix and content type

This commit is contained in:
Lennart
2024-10-27 15:26:34 +01:00
parent 86feb4e189
commit df8790f46d
2 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ pub async fn get_object<AS: AddressbookStore + ?Sized>(
Ok(HttpResponse::Ok()
.insert_header(("ETag", object.get_etag()))
.insert_header(("Content-Type", "text/calendar"))
.insert_header(("Content-Type", "text/vcard"))
.body(object.get_vcf().to_owned()))
}