mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 07:02:24 +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?;
|
store.put_event(principal, cid, uid, body).await?;
|
||||||
|
|
||||||
Ok(HttpResponse::Ok().body(""))
|
Ok(HttpResponse::Created().body(""))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user