From 0ba02af4a3b60b49bcf53e99b9030c73e714141a Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Tue, 21 Nov 2023 14:35:30 +0800 Subject: [PATCH] fix: blocks failed to create because article id is not valid uuid string (#165) --- src/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index c74a5ae..031dc08 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import { LSPluginBaseInfo, } from '@logseq/libs/dist/LSPlugin' import { PageEntity } from '@logseq/libs/dist/LSPlugin.user' -import { setup as l10nSetup, t } from 'logseq-l10n'; //https://github.com/sethyuan/logseq-l10n +import { setup as l10nSetup, t } from 'logseq-l10n' //https://github.com/sethyuan/logseq-l10n import { DateTime } from 'luxon' import { Article, @@ -409,7 +409,6 @@ const fetchOmnivore = async (inBackground = false) => { highlight, { sibling: false, - keepUUID: true, } ) } @@ -421,7 +420,6 @@ const fetchOmnivore = async (inBackground = false) => { highlightsBlock, { sibling: false, - keepUUID: true, } ) } @@ -451,7 +449,6 @@ const fetchOmnivore = async (inBackground = false) => { await logseq.Editor.insertBatchBlock(targetBlockId, articleBatch, { before: true, sibling: false, - keepUUID: true, }) } }