mirror of
https://github.com/iv-org/invidious.git
synced 2026-08-31 11:13:50 +00:00
Compare commits
1 Commits
master
...
donotmerge
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17e8fd416d |
@@ -38,7 +38,7 @@ struct Video
|
||||
# Methods for API v1 JSON
|
||||
|
||||
def to_json(locale : String?, json : JSON::Builder)
|
||||
Invidious::JSONify::APIv1.video(self, json, locale: locale)
|
||||
Invidious::JSONify::APIv1(self, json, locale: locale)
|
||||
end
|
||||
|
||||
# TODO: remove the locale and follow the crystal convention
|
||||
|
||||
Reference in New Issue
Block a user