mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-07 22:47:33 +00:00
Add 'since' to '/api/v1/auth/notifications'
This commit is contained in:
@@ -262,8 +262,10 @@ struct Video
|
||||
generate_storyboards(json, self.storyboards, config, kemal_config)
|
||||
end
|
||||
|
||||
json.field "description", html_to_content(self.description).last
|
||||
json.field "descriptionHtml", html_to_content(self.description).first
|
||||
description_html, description = html_to_content(self.description)
|
||||
|
||||
json.field "description", description
|
||||
json.field "descriptionHtml", description_html
|
||||
json.field "published", self.published.to_unix
|
||||
json.field "publishedText", translate(locale, "`x` ago", recode_date(self.published, locale))
|
||||
json.field "keywords", self.keywords
|
||||
|
||||
Reference in New Issue
Block a user