summaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-09 21:46:24 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-13 23:11:56 -0500
commit1202ad261eba2c684351ba4b9a53e68203a8ae45 (patch)
tree7ec5fec9e1f29ff38f49288f57eb8f22127fa011 /ext/bg/js/api.js
parentf63220b6c501b1a2697e75ba407adb21dbb980b9 (diff)
Move apiAudioGetUrl implementation into Backend
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 1c3ad110..db849cc5 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -69,8 +69,8 @@ function apiCommandExec(command, params) {
return utilBackend()._onApiCommandExec({command, params});
}
-async function apiAudioGetUrl(definition, source, optionsContext) {
- return audioGetUrl(definition, source, optionsContext);
+function apiAudioGetUrl(definition, source, optionsContext) {
+ return utilBackend()._onApiAudioGetUrl({definition, source, optionsContext});
}
function apiScreenshotGet(options, sender) {