aboutsummaryrefslogtreecommitdiffstats
path: root/packages/workers/openai.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/workers/openai.ts')
-rw-r--r--packages/workers/openai.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/workers/openai.ts b/packages/workers/openai.ts
index 1adedeba..7c45b2cb 100644
--- a/packages/workers/openai.ts
+++ b/packages/workers/openai.ts
@@ -140,6 +140,7 @@ async function createTags(tags: string[], userId: string) {
async function connectTags(bookmarkId: string, tagIds: string[]) {
// TODO: Prisma doesn't support createMany in Sqlite
+ // TODO: This could fail on refetch if the tags are already there
await Promise.all(
tagIds.map((tagId) => {
return prisma.tagsOnBookmarks.create({