This commit is contained in:
TheFrenchGhosty
2026-08-08 03:27:31 +02:00
parent eb407578a2
commit 17e8fd416d

View File

@@ -38,7 +38,7 @@ struct Video
# Methods for API v1 JSON # Methods for API v1 JSON
def to_json(locale : String?, json : JSON::Builder) def to_json(locale : String?, json : JSON::Builder)
Invidious::JSONify::APIv1.video(self, json, locale: locale) Invidious::JSONify::APIv1(self, json, locale: locale)
end end
# TODO: remove the locale and follow the crystal convention # TODO: remove the locale and follow the crystal convention