mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-23 19:38:50 +00:00
Fix warnings in Crystal 0.29
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user