mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2025-06-05 23:29:12 +02:00
serialized_yt_data: force datatype of 'locale'
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user