Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
eriksson-daniel committed Dec 16, 2024
1 parent f0f3d13 commit d858bca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/plugins/crdt/api/set-document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export const setDocument = async (context: ConnectionContext, document: Document
const sharedRoot = document.get('content', XmlText);
const nodes = yTextToSlateElement(sharedRoot);

console.log('nodes', nodes.children, data);

const res = await fetch(`${KABAL_API_URL}/behandlinger/${behandlingId}/smartdokumenter/${dokumentId}`, {
method: 'PATCH',
headers: {
Expand Down

0 comments on commit d858bca

Please sign in to comment.