summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-09 21:00:57 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-09 21:00:57 -0400
commit0cbf427ab50061b48c9027e63e9ee8a209946d37 (patch)
treebaed9cd4a2016f57710cb6a41b0de04a8ed343f6 /ext/bg/js/backend.js
parent9cd4a52b9e701f47c7ca7b44c52cbcd66b7bcb05 (diff)
Update argument order
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index eb88a6c1..adc6f13d 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -515,7 +515,7 @@ class Backend {
async _onApiAudioGetUri({definition, source, optionsContext}) {
const options = this.getOptions(optionsContext);
- return await this.audioUriBuilder.getUri(source, definition, options);
+ return await this.audioUriBuilder.getUri(definition, source, options);
}
_onApiScreenshotGet({options}, sender) {
@@ -771,7 +771,7 @@ class Backend {
}
const options = this.getOptions(optionsContext);
- return await this.audioUriBuilder.getUri(source, definition, options);
+ return await this.audioUriBuilder.getUri(definition, source, options);
}
async _audioInject(definition, fields, sources, optionsContext) {