diff options
Diffstat (limited to 'ext/js/media')
-rw-r--r-- | ext/js/media/audio-downloader.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/media/audio-downloader.js b/ext/js/media/audio-downloader.js index 4142e3f4..77e9afd2 100644 --- a/ext/js/media/audio-downloader.js +++ b/ext/js/media/audio-downloader.js @@ -16,11 +16,11 @@ */ /* global + * ArrayBufferUtil * JsonSchema * NativeSimpleDOMParser * RequestBuilder * SimpleDOMParser - * StringUtil */ class AudioDownloader { @@ -283,7 +283,7 @@ class AudioDownloader { throw new Error('Could not retrieve audio'); } - const data = StringUtil.arrayBufferToBase64(arrayBuffer); + const data = ArrayBufferUtil.arrayBufferToBase64(arrayBuffer); const contentType = response.headers.get('Content-Type'); return {data, contentType}; } |