Change upsert_event to put_event to match webdav spec

This commit is contained in:
Lennart
2024-06-21 18:05:03 +02:00
parent 029b23154d
commit 26d2f88d1c
4 changed files with 5 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ pub async fn put_event<A: CheckAuthentication, C: CalendarStore + ?Sized>(
.store
.write()
.await
.upsert_event(cid, uid, body)
.put_event(cid, uid, body)
.await?;
Ok(HttpResponse::Ok().body(""))