Manually extract category refactor from 1b569bbc99207cae7c20aa285f42477ae361dd30

Also fixes some errors caused by cherry-picking
This commit is contained in:
syeopite
2021-06-28 23:11:04 -07:00
parent abca8f7a7c
commit be1a43a337
5 changed files with 11 additions and 41 deletions

View File

@@ -275,7 +275,7 @@ struct Video
end
end
def to_json(locale, json : JSON::Builder)
def to_json(locale : Hash(String, JSON::Any), json : JSON::Builder)
json.object do
json.field "type", "video"