summaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
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) {