Fix warnings in Crystal 0.29

This commit is contained in:
Omar Roth
2019-06-07 20:23:37 -05:00
parent 58995bb3a2
commit 2febc268f7
8 changed files with 24 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ struct PlaylistVideo
ucid: String,
length_seconds: Int32,
published: Time,
playlists: Array(String),
plid: String,
index: Int32,
live_now: Bool,
})
@@ -114,8 +114,8 @@ def extract_playlist(plid, nodeset, index)
author: author,
ucid: ucid,
length_seconds: length_seconds,
published: Time.now,
playlists: [plid],
published: Time.utc,
plid: plid,
index: index + offset,
live_now: live_now
)