aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 719e0361..b2872c3f 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -406,7 +406,8 @@ class Backend {
}
async _onApiAudioGetUrl({definition, source, optionsContext}) {
- return audioGetUrl(definition, source, optionsContext);
+ const options = await this.getOptions(optionsContext);
+ return await audioGetUrl(definition, source, options);
}
_onApiScreenshotGet({options}, sender) {