Don't fail on disconnected WebSocket connection
This commit is contained in:
parent
85648c9466
commit
de26f513e9
5 changed files with 16 additions and 15 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue