Skip to content

Commit 0d44589

Browse files
committed
revert irrelevant changes
1 parent df10175 commit 0d44589

File tree

3 files changed

+2831
-231
lines changed

3 files changed

+2831
-231
lines changed

apps/obsidian/e2e/NOTES.md

Lines changed: 0 additions & 159 deletions
This file was deleted.

apps/obsidian/src/utils/syncDgNodesToSupabase.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ export const syncAllNodesAndRelations = async (
416416
accountLocalId,
417417
plugin,
418418
allNodes,
419-
startupRun: true,
419+
fullSync: true,
420420
});
421421

422422
// When synced nodes are already published, ensure non-text assets are in storage.
@@ -434,15 +434,15 @@ const convertDgToSupabaseConcepts = async ({
434434
accountLocalId,
435435
plugin,
436436
allNodes,
437-
startupRun,
437+
fullSync,
438438
}: {
439439
nodesSince: ObsidianDiscourseNodeData[];
440440
supabaseClient: DGSupabaseClient;
441441
context: SupabaseContext;
442442
accountLocalId: string;
443443
plugin: DiscourseGraphPlugin;
444444
allNodes?: DiscourseNodeInVault[];
445-
startupRun?: boolean;
445+
fullSync?: boolean;
446446
}): Promise<void> => {
447447
const lastNodeSchemaSync = (
448448
await getLastNodeSchemaSyncTime(supabaseClient, context.spaceId)
@@ -567,7 +567,7 @@ const convertDgToSupabaseConcepts = async ({
567567
throw new Error(`upsert_concepts failed: ${errorMessage}`);
568568
}
569569
}
570-
if (startupRun === true) {
570+
if (fullSync === true) {
571571
// occasional extra work: Make sure relations that should be published are.
572572
await ensurePublishedRelationsAccuracy({
573573
client: supabaseClient,

0 commit comments

Comments
 (0)