Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(cli): migrate bookmark source in migration command

Mohamed Bassem65cfa87107c2
diff --git a/apps/cli/src/commands/migrate.ts b/apps/cli/src/commands/migrate.ts
index ee0d85c8..6527be23 100644
--- a/apps/cli/src/commands/migrate.ts
+++ b/apps/cli/src/commands/migrate.ts
@@ -695,6 +695,7 @@ async function migrateBookmarks(
summary: b.summary ?? undefined,
createdAt: b.createdAt,
crawlPriority: "low" as const,
+ source: b.source === null ? undefined : b.source,
};
let createdId: string | null = null;
switch (b.content.type) {