Broadcast db changes

This commit is contained in:
Andras Schmelczer 2025-03-25 22:26:50 +00:00
commit ed54a2391b
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -143,5 +143,10 @@ async fn internal_create_document(
.context("Failed to commit successful transaction")
.map_err(server_error)?;
state
.broadcasts
.send(vault_id, new_version.clone().into())
.await?;
Ok(Json(new_version.into()))
}