Use new API

This commit is contained in:
Andras Schmelczer 2025-01-03 22:30:46 +00:00
commit 752efd7a27
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -78,9 +78,7 @@ pub async fn create_document(
&[], // the empty string is the first common parent of the two documents,
&existing_version.content,
&content_bytes,
)
.context("Failed to decode bytes as UTF-8")
.map_err(client_error)?;
);
StoredDocumentVersion {
vault_id,