diff --git a/packages/daf-data-store/src/data-store.ts b/packages/daf-data-store/src/data-store.ts index 0ff806f14..ff022ce19 100644 --- a/packages/daf-data-store/src/data-store.ts +++ b/packages/daf-data-store/src/data-store.ts @@ -313,7 +313,7 @@ export class DataStore { .toParams() const searchResult = await this.db.rows(searchQuery.text, searchQuery.values) if (searchResult.length > 0) { - this.updateMetaData(message) + await this.updateMetaData(message) } else { try { const query = sql