mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
serialized_yt_data: force datatype of 'locale'
This commit is contained in:
parent
f65b628bf3
commit
1cb715ac9f
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ struct SearchChannel
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_json(locale, _json : Nil)
|
def to_json(locale : Hash(String, JSON::Any) | Nil, _json : Nil)
|
||||||
JSON.build do |json|
|
JSON.build do |json|
|
||||||
to_json(locale, json)
|
to_json(locale, json)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue