mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 09:58:50 +00:00
Refactored code and added badges to Search but many dummies because of the way components/item works
This commit is contained in:
@@ -182,6 +182,7 @@ module Invidious::Routes::Feeds
|
||||
paid: false,
|
||||
premium: false,
|
||||
premiere_timestamp: nil,
|
||||
author_verified: false, #TODO real value
|
||||
})
|
||||
end
|
||||
|
||||
@@ -414,6 +415,7 @@ module Invidious::Routes::Feeds
|
||||
live_now: video.live_now,
|
||||
premiere_timestamp: video.premiere_timestamp,
|
||||
views: video.views,
|
||||
author_verified: false, #TODO dummy for components/item.ecr
|
||||
})
|
||||
|
||||
was_insert = Invidious::Database::ChannelVideos.insert(video, with_premiere_timestamp: true)
|
||||
|
||||
Reference in New Issue
Block a user