diff --git a/src/Twitch.elm b/src/Twitch.elm index 6f6f2c6..9574457 100644 --- a/src/Twitch.elm +++ b/src/Twitch.elm @@ -72,7 +72,7 @@ videoId video = playlistMiniatureUrl : Playlist -> String playlistMiniatureUrl playlist = - case List.head (List.reverse playlist.videos) of + case List.head playlist.videos of Just v -> "videos/" ++ playlist.url ++ v.url ++ "miniature-050.png"