Skip to content

Commit

Permalink
Update source/api/Items.brs
Browse files Browse the repository at this point in the history
Simplify object TVEpisode list data generation

Co-authored-by: 1hitsong <[email protected]>
  • Loading branch information
JarodTAerts and 1hitsong authored Oct 17, 2023
1 parent 4fed592 commit 084582a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/api/Items.brs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 084582a

Please sign in to comment.