diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2021-10-29 14:53:57 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2021-10-29 16:26:42 +0200 |
| commit | 0ec94405ce2b9f421dc85e2d5941e415e9d97f3d (patch) | |
| tree | 1f9546ffdb423435845fd5df3c2fea47c845b8b8 | |
| parent | 33780f1995d23291b73792caad6cb2ad56952f4e (diff) | |
| download | invidious-0ec94405ce2b9f421dc85e2d5941e415e9d97f3d.tar.gz invidious-0ec94405ce2b9f421dc85e2d5941e415e9d97f3d.tar.bz2 invidious-0ec94405ce2b9f421dc85e2d5941e415e9d97f3d.zip | |
Add TODO comments to other places
| -rw-r--r-- | src/invidious/helpers/serialized_yt_data.cr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/invidious/helpers/serialized_yt_data.cr b/src/invidious/helpers/serialized_yt_data.cr index d4f5da87..f92b7b89 100644 --- a/src/invidious/helpers/serialized_yt_data.cr +++ b/src/invidious/helpers/serialized_yt_data.cr @@ -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) |
