breaking change: usar page/ en vez de doc/ para page ids

This commit is contained in:
Cat /dev/Nulo 2023-03-05 18:26:31 +00:00
parent 68c6043a10
commit 3a2aad4d23

View file

@ -40,5 +40,5 @@ export function getWorldY(world: WorldIdentifier): WorldY {
}
export function getWorldPage(ydoc: Y.Doc, pageId: string): Y.XmlFragment {
return ydoc.getXmlFragment(`doc/${pageId}`);
return ydoc.getXmlFragment(`page/${pageId}`);
}