diff options
Diffstat (limited to 'apps/workers')
| -rw-r--r-- | apps/workers/workers/searchWorker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workers/workers/searchWorker.ts b/apps/workers/workers/searchWorker.ts index 7dd25ee8..1433ef3c 100644 --- a/apps/workers/workers/searchWorker.ts +++ b/apps/workers/workers/searchWorker.ts @@ -106,7 +106,7 @@ async function runIndex(searchClient: SearchIndexClient, bookmarkId: string) { } async function runDelete(searchClient: SearchIndexClient, bookmarkId: string) { - await searchClient.deleteDocument(bookmarkId); + await searchClient.deleteDocuments([bookmarkId]); } async function runSearchIndexing(job: DequeuedJob<ZSearchIndexingRequest>) { |
