Skip to content

Commit

Permalink
Caps for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcretu committed Sep 9, 2024
1 parent aa017a7 commit 1d6de96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/hooks/useTimestampFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getHlsURI = (
* @typedef {Object} TimestampFetcherResult
* @property {number} timestamp The latest timestamp
* @property {string} hlsURI The URI to the latest HLS stream
* @property {string} awsConsoleUri The URI to the AWS console for the latest HLS stream
* @property {string} awsConsoleURI The URI to the AWS console for the latest HLS stream
*/

/**
Expand All @@ -46,7 +46,7 @@ export function useTimestampFetcher(
nodeName && bucket && timestamp
? getHlsURI(bucket, nodeName, timestamp)
: undefined;
const awsConsoleUri =
const awsConsoleURI =
nodeName && bucket && timestamp
? `https://s3.console.aws.amazon.com/s3/buckets/${bucket}/${nodeName}/hls/${timestamp}/`
: undefined;
Expand Down Expand Up @@ -96,5 +96,5 @@ export function useTimestampFetcher(
};
}, [nodeName, onStart, onStop, bucket]);

return { timestamp, hlsURI, awsConsoleUri };
return { timestamp, hlsURI, awsConsoleURI };
}

0 comments on commit 1d6de96

Please sign in to comment.