mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
PUT event, respond with correct status code
This commit is contained in:
@@ -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(""))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user