diff --git a/src/invidious/routes/api/v1/videos.cr b/src/invidious/routes/api/v1/videos.cr index ed4a34ac..ac4ab13c 100644 --- a/src/invidious/routes/api/v1/videos.cr +++ b/src/invidious/routes/api/v1/videos.cr @@ -405,6 +405,7 @@ module Invidious::Routes::API::V1::Videos response = JSON.build do |json| json.object do json.field "chapters" do + json.field "autoGenerated", video.automatically_generated_chapters? json.array do chapters.each do |chapter| json.object do