From c5c62de28944077004f01960ee9f7e12b7d26c2c Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Sun, 21 Jul 2024 23:08:06 +0200 Subject: fix: async/await issues with the new queue (#319) --- apps/workers/openaiWorker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/workers/openaiWorker.ts') diff --git a/apps/workers/openaiWorker.ts b/apps/workers/openaiWorker.ts index 9e6e2f23..55695938 100644 --- a/apps/workers/openaiWorker.ts +++ b/apps/workers/openaiWorker.ts @@ -397,5 +397,5 @@ async function runOpenAI(job: DequeuedJob) { await connectTags(bookmarkId, tags, bookmark.userId); // Update the search index - triggerSearchReindex(bookmarkId); + await triggerSearchReindex(bookmarkId); } -- cgit v1.2.3-70-g09d2