serialized_yt_data: force datatype of 'locale'

pull/2471/head
Samantaz Fox 3 years ago
parent f65b628bf3
commit 1cb715ac9f
No known key found for this signature in database
GPG Key ID: F42821059186176E

@ -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

Loading…
Cancel
Save