Browse Source

fix return type

Yuki Takei 4 years ago
parent
commit
3ad3295b63

+ 1 - 1
packages/app/src/server/service/search-delegator/elasticsearch.ts

@@ -149,7 +149,7 @@ class ElasticsearchDelegator implements SearchDelegator<Data> {
     };
     };
   }
   }
 
 
-  async init(): void {
+  async init(): Promise<void> {
     const normalizeIndices = await this.normalizeIndices();
     const normalizeIndices = await this.normalizeIndices();
     if (this.isElasticsearchReindexOnBoot) {
     if (this.isElasticsearchReindexOnBoot) {
       try {
       try {