Invidious is an alternative front-end to YouTube
serialized_yt_data: force datatype of 'locale'
Samantaz Fox1cb715ac9f10
diff --git a/src/invidious/helpers/serialized_yt_data.cr b/src/invidious/helpers/serialized_yt_data.crindex bc8fc946..d4f5da87 100644--- a/src/invidious/helpers/serialized_yt_data.cr+++ b/src/invidious/helpers/serialized_yt_data.cr@@ -211,7 +211,7 @@ struct SearchChannelendend- 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