This commit is contained in:
Charles Ewert 2023-04-23 13:38:30 -04:00
parent 5c6bfdfca9
commit 5f1550c74d

View File

@ -402,7 +402,7 @@ function TVSeasons(id as string) as dynamic
resp = APIRequest(url, { "UserId": get_setting("active_user") })
data = getJson(resp)
' validate data
if data = invalid or data.Items = invalid or data = "" then return invalid
if data = invalid or data.Items = invalid then return invalid
results = []
for each item in data.Items
@ -422,7 +422,7 @@ function TVEpisodes(show_id as string, season_id as string) as dynamic
data = getJson(resp)
' validate data
if data = invalid or data.Items = invalid or data = "" then return invalid
if data = invalid or data.Items = invalid then return invalid
results = []
for each item in data.Items