Update source/api/Items.brs

Simplify object TVEpisode list data generation

Co-authored-by: 1hitsong <3330318+1hitsong@users.noreply.github.com>
This commit is contained in:
JarodTAerts 2023-10-16 20:35:10 -05:00 committed by GitHub
parent 4fed592e37
commit 084582a2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -474,9 +474,7 @@ function TVSeasonExtras(seasonId as string) as dynamic
end for
' Build that data format that the TVEpisodeRow expects
extrasData = { Items: [] }
extrasData.Items = results
return extrasData
return { Items: results }
end function
function TVEpisodeShuffleList(show_id as string)