Skip to content

Commit

Permalink
fix: Data store await for meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Feb 25, 2020
1 parent 132daec commit 5d96401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/daf-data-store/src/data-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d96401

Please sign in to comment.