Don't fail on disconnected WebSocket connection

This commit is contained in:
Andras Schmelczer 2025-03-28 21:27:34 +00:00
parent 85648c9466
commit de26f513e9
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
5 changed files with 16 additions and 15 deletions

View file

@ -221,7 +221,7 @@ async fn internal_update_document(
state
.broadcasts
.send(vault_id, new_version.clone().into())
.await?;
.await;
Ok(Json(if is_different_from_request_content {
DocumentUpdateResponse::MergingUpdate(new_version.into())