diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-09 21:00:57 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-09 21:00:57 -0400 |
commit | 0cbf427ab50061b48c9027e63e9ee8a209946d37 (patch) | |
tree | baed9cd4a2016f57710cb6a41b0de04a8ed343f6 /ext/bg/js/audio-uri-builder.js | |
parent | 9cd4a52b9e701f47c7ca7b44c52cbcd66b7bcb05 (diff) |
Update argument order
Diffstat (limited to 'ext/bg/js/audio-uri-builder.js')
-rw-r--r-- | ext/bg/js/audio-uri-builder.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/audio-uri-builder.js b/ext/bg/js/audio-uri-builder.js index 80e9cb9a..15cea995 100644 --- a/ext/bg/js/audio-uri-builder.js +++ b/ext/bg/js/audio-uri-builder.js @@ -48,8 +48,8 @@ class AudioUriBuilder { return url; } - async getUri(mode, definition, options) { - const handler = this._getUrlHandlers.get(mode); + async getUri(definition, source, options) { + const handler = this._getUrlHandlers.get(source); if (typeof handler === 'function') { try { return await handler(definition, options); |