change string

This commit is contained in:
Lennart
2024-10-08 12:53:22 +02:00
parent 00c493dea4
commit 5c77dbc607

View File

@@ -88,7 +88,7 @@ pub async fn put_event<C: CalendarStore + ?Sized>(
match store.get_object(&principal, &cid, &uid).await {
Ok(_) => {
// Conflict
return Ok(HttpResponse::Conflict().body("Resource with this URI already existing"));
return Ok(HttpResponse::Conflict().body("Resource with this URI already exists"));
}
Err(rustical_store::Error::NotFound) => {
// Path unused, we can proceed