diff --git a/modules/rbooks/mod.ts b/modules/rbooks/mod.ts index 0e4cdfb..9623333 100644 --- a/modules/rbooks/mod.ts +++ b/modules/rbooks/mod.ts @@ -407,7 +407,7 @@ function seedTemplateBooks(space: string) { _syncServer.changeDoc(docId, 'seed template books', (d) => { for (const b of books) { - const id = crypto.randomUUID(); + const id = randomUUID(); const slug = b.title.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, ''); d.items[id] = { id, slug, title: b.title, author: b.author, description: b.desc,