propagate video_id field on getting playlists

This commit is contained in:
diogo
2021-08-09 09:47:37 +02:00
committed by Samantaz Fox
parent c4c8a10507
commit a1d6411f1f
2 changed files with 12 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ module Invidious::Routes::API::V1::Misc
# First we find the actual offset, and then we lookback
# it shouldn't happen often though
response = playlist.to_json(offset, locale, continuation: continuation)
response = playlist.to_json(offset, locale, video_id: video_id)
json_response = JSON.parse(response)
if json_response["videos"].as_a[0]["index"] != offset