Add TODO comments to other places

このコミットが含まれているのは:
Samantaz Fox 2021-10-29 14:53:57 +02:00
コミット 0ec94405ce
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: F42821059186176E
1個のファイルの変更4行の追加0行の削除

ファイルの表示

@ -95,6 +95,7 @@ struct SearchVideo
end
end
# TODO: remove the locale and follow the crystal convention
def to_json(locale : Hash(String, JSON::Any) | Nil, _json : Nil)
JSON.build do |json|
to_json(locale, json)
@ -159,6 +160,7 @@ struct SearchPlaylist
end
end
# TODO: remove the locale and follow the crystal convention
def to_json(locale : Hash(String, JSON::Any) | Nil, _json : Nil)
JSON.build do |json|
to_json(locale, json)
@ -211,6 +213,7 @@ struct SearchChannel
end
end
# TODO: remove the locale and follow the crystal convention
def to_json(locale : Hash(String, JSON::Any) | Nil, _json : Nil)
JSON.build do |json|
to_json(locale, json)
@ -245,6 +248,7 @@ class Category
end
end
# TODO: remove the locale and follow the crystal convention
def to_json(locale : Hash(String, JSON::Any) | Nil, _json : Nil)
JSON.build do |json|
to_json(locale, json)