We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e98c602 commit eb1fd8aCopy full SHA for eb1fd8a
1 file changed
apps/obsidian/src/utils/syncDgNodesToSupabase.ts
@@ -565,17 +565,18 @@ const convertDgToSupabaseConcepts = async ({
565
? error
566
: JSON.stringify(error, null, 2);
567
throw new Error(`upsert_concepts failed: ${errorMessage}`);
568
- } else if (startupRun === true) {
569
- // occasional extra work: Make sure relations that should be published are.
570
- await ensurePublishedRelationsAccuracy({
571
- client: supabaseClient,
572
- context,
573
- plugin,
574
- allNodesById,
575
- relationInstancesData,
576
- });
577
}
578
+ if (startupRun === true) {
+ // occasional extra work: Make sure relations that should be published are.
+ await ensurePublishedRelationsAccuracy({
+ client: supabaseClient,
+ context,
+ plugin,
+ allNodesById,
+ relationInstancesData,
+ });
579
+ }
580
};
581
582
/**
0 commit comments