summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-06 17:34:36 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-07 19:04:47 -0400
commita6773e0240f9cf25913d20ac75352b42d5c4e517 (patch)
treebd222fb37ad2afe42e4558704e7aa05d87c37e64 /ext
parent8a419dfa67b730d777fbefaf9c6ffa649bbb67d3 (diff)
Fix field name
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/anki-note-builder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/anki-note-builder.js b/ext/bg/js/anki-note-builder.js
index 1ccec20c..244aaab8 100644
--- a/ext/bg/js/anki-note-builder.js
+++ b/ext/bg/js/anki-note-builder.js
@@ -92,7 +92,7 @@ class AnkiNoteBuilder {
const expressions = definition.expressions;
const audioSourceDefinition = Array.isArray(expressions) ? expressions[0] : definition;
- const {uri} = await this.audioSystem.getDefinitionAudio(audioSourceDefinition, sources, {tts: false, optionsContext});
+ const {uri} = await this._audioSystem.getDefinitionAudio(audioSourceDefinition, sources, {tts: false, optionsContext});
const filename = this._createInjectedAudioFileName(audioSourceDefinition);
if (filename !== null) {
definition.audio = {url: uri, filename};