aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-20 22:54:28 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-20 22:54:28 -0500
commit7b9731e616415f90b61e94d4db627928a3a35a03 (patch)
tree43295b1ed2e5c001b84517d27206ccbfe10b7dc3 /ext/bg/js/backend.js
parentec8b805e8f273756e3f9f559533b35576bca9ab6 (diff)
Fix apiOptionsGet being used on the background page
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) {