We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7128ea4 commit 5e40691Copy full SHA for 5e40691
1 file changed
apps/obsidian/src/utils/publishNode.ts
@@ -260,6 +260,7 @@ export const publishNode = async ({
260
if (!client) throw new Error("Cannot get client");
261
const myGroups = new Set(await getAvailableGroupIds(client));
262
if (myGroups.size === 0) throw new Error("Cannot get group");
263
+ await syncAllNodesAndRelations(plugin);
264
const existingPublish =
265
(frontmatter.publishedToGroups as undefined | string[]) || [];
266
const commonGroups = existingPublish.filter((g) => myGroups.has(g));
0 commit comments