diff options
Diffstat (limited to 'stream/src/jhls.rs')
-rw-r--r-- | stream/src/jhls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/src/jhls.rs b/stream/src/jhls.rs index ac1a3e5..2e45378 100644 --- a/stream/src/jhls.rs +++ b/stream/src/jhls.rs @@ -21,7 +21,7 @@ pub async fn jhls_index( perms: &PermissionSet, ) -> Result<()> { let local_track = local_tracks - .get(0) + .first() .ok_or(anyhow!("track missing"))? .to_owned(); |