Done some refactoring

This commit is contained in:
Jonas Wunderlich
2022-03-13 20:16:30 +01:00
parent a09fbad8b0
commit aa09bbe23d
9 changed files with 23 additions and 17 deletions

View File

@@ -142,7 +142,9 @@ struct SearchPlaylist
json.field "author", self.author
json.field "authorId", self.ucid
json.field "authorUrl", "/channel/#{self.ucid}"
json.field "authorVerified", self.author_verified
json.field "videoCount", self.video_count
json.field "videos" do
json.array do