Update src/invidious/helpers/serialized_yt_data.cr

This commit is contained in:
syeopite 2021-10-12 18:17:08 +00:00 committed by GitHub
parent a8e3349577
commit 5b113db77b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,6 +237,7 @@ class Category
def to_json(locale, json : JSON::Builder)
json.object do
json.field "type", "category"
json.field "title", self.title
json.field "contents" do
json.array do