diff --git a/src/invidious/helpers/serialized_yt_data.cr b/src/invidious/helpers/serialized_yt_data.cr index bc8fc946..d4f5da87 100644 --- a/src/invidious/helpers/serialized_yt_data.cr +++ b/src/invidious/helpers/serialized_yt_data.cr @@ -211,7 +211,7 @@ struct SearchChannel end end - def to_json(locale, _json : Nil) + def to_json(locale : Hash(String, JSON::Any) | Nil, _json : Nil) JSON.build do |json| to_json(locale, json) end