mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Fix view_count_text
This commit is contained in:
parent
3b1df75061
commit
c0bda13965
1 changed files with 1 additions and 1 deletions
|
@ -2125,7 +2125,7 @@ get "/api/v1/videos/:id" do |env|
|
|||
end
|
||||
json.field "author", rv["author"]
|
||||
json.field "lengthSeconds", rv["length_seconds"].to_i
|
||||
json.field "viewCountText", rv["short_view_count_text"].rchop(" views")
|
||||
json.field "viewCountText", rv["short_view_count_text"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue