Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from coreyjv/patch-1
Browse files Browse the repository at this point in the history
Use `let` instead of `const`
  • Loading branch information
LukePulverenti authored Mar 5, 2020
2 parents ae2fbb9 + f539d15 commit c5e8fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apiclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -4326,4 +4326,4 @@ function compareVersions(a, b) {
return 0;
}

export default ApiClient;
export default ApiClient;

0 comments on commit c5e8fa2

Please sign in to comment.