diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-20 22:54:28 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-20 22:54:28 -0500 |
commit | 7b9731e616415f90b61e94d4db627928a3a35a03 (patch) | |
tree | 43295b1ed2e5c001b84517d27206ccbfe10b7dc3 /ext/bg/js/backend.js | |
parent | ec8b805e8f273756e3f9f559533b35576bca9ab6 (diff) |
Fix apiOptionsGet being used on the background page
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 3 |
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) { |