Update plugins/search-backend-node/src/alpha.ts

Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-05-16 15:42:09 +02:00
committed by GitHub
parent 42189602af
commit 021d4cbfd1
+1 -1
View File
@@ -121,7 +121,7 @@ class DefaultSearchIndexService implements SearchIndexService {
async start(): Promise<void> {
if (!this.indexBuilder) {
throw new Error('IndexBuilder is not initialized, call build first');
throw new Error('IndexBuilder is not initialized, call init first');
}
const { scheduler } = await this.indexBuilder.build();
this.scheduler = scheduler;