mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-19 23:25:52 -04:00
Append "Seconds" to startTime/endTime JSON fields
This commit is contained in:
parent
7da4a7f72b
commit
060701951c
@ -397,8 +397,8 @@ module Invidious::Routes::API::V1::Videos
|
||||
|
||||
return JSON.build do |json|
|
||||
json.object do
|
||||
json.field "startTime", start_time
|
||||
json.field "endTime", end_time
|
||||
json.field "startTimeSeconds", start_time
|
||||
json.field "endTimeSeconds", end_time
|
||||
json.field "clipTitle", clip_title
|
||||
json.field "video" do
|
||||
Invidious::JSONify::APIv1.video(video, json, locale: locale, proxy: proxy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user