From f539d1524da58b30f7983ad6d60a8a9814ee7b7a Mon Sep 17 00:00:00 2001 From: Corey Vaillancourt Date: Wed, 4 Mar 2020 22:59:26 -0500 Subject: [PATCH] Use `let` instead of `const` --- apiclient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apiclient.js b/apiclient.js index 8c89258..47f871e 100644 --- a/apiclient.js +++ b/apiclient.js @@ -3153,7 +3153,7 @@ class ApiClient { for (let i = 0, length = items.length; i < length; i++) { const item = items[i]; - const streamUrl; + let streamUrl; if (item.MediaType === 'Audio') { streamUrl = this.getAudioStreamUrl(item, transcodingProfile, directPlayContainers, maxBitrate, maxAudioSampleRate, maxAudioBitDepth, startPosition, enableRemoteMedia); @@ -4326,4 +4326,4 @@ function compareVersions(a, b) { return 0; } -export default ApiClient; \ No newline at end of file +export default ApiClient;