aboutsummaryrefslogtreecommitdiff
path: root/ext/js/dictionary/dictionary-importer.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-19 07:30:17 -0500
committerGitHub <noreply@github.com>2024-02-19 12:30:17 +0000
commit2da866f982930c76d2317a3be426410683ecf5a2 (patch)
treee77ce545177ba398068cb63037096a56dea04e2c /ext/js/dictionary/dictionary-importer.js
parent65fa65fc7765bc9a6557d3ce6f8bdcef5b5e0cf7 (diff)
Update eslint rules (#710)
Diffstat (limited to 'ext/js/dictionary/dictionary-importer.js')
-rw-r--r--ext/js/dictionary/dictionary-importer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/dictionary/dictionary-importer.js b/ext/js/dictionary/dictionary-importer.js
index eed7d9dd..fbfe40d0 100644
--- a/ext/js/dictionary/dictionary-importer.js
+++ b/ext/js/dictionary/dictionary-importer.js
@@ -187,7 +187,7 @@ export class DictionaryImporter {
media: {total: media.length}
};
const summary = this._createSummary(dictionaryTitle, version, index, {prefixWildcardsSupported, counts});
- dictionaryDatabase.bulkAdd('dictionaries', [summary], 0, 1);
+ await dictionaryDatabase.bulkAdd('dictionaries', [summary], 0, 1);
// Add data
/** @type {Error[]} */