Ameba: Fix Naming/PredicateName

This commit is contained in:
syeopite
2024-07-26 19:19:31 -07:00
parent 22b35c453e
commit f66068976e
5 changed files with 24 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ module Invidious::JSONify::APIv1
json.field "isListed", video.is_listed
json.field "liveNow", video.live_now
json.field "isPostLiveDvr", video.post_live_dvr
json.field "isUpcoming", video.is_upcoming
json.field "isUpcoming", video.upcoming?
if video.premiere_timestamp
json.field "premiereTimestamp", video.premiere_timestamp.try &.to_unix