PUT event, respond with correct status code

This commit is contained in:
Lennart
2024-06-30 19:07:21 +02:00
parent c143fae26e
commit 69172721b4

View File

@@ -126,5 +126,5 @@ pub async fn put_event<A: CheckAuthentication, C: CalendarStore + ?Sized>(
store.put_event(principal, cid, uid, body).await?;
Ok(HttpResponse::Ok().body(""))
Ok(HttpResponse::Created().body(""))
}