Skip to content

Commit

Permalink
Merge pull request #1884 from cewert/fix-search-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Jul 31, 2024
2 parents b28c08a + 852d57b commit a4c9800
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/api/Items.bs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ function searchMedia(query as string)
"limit": 100
})

if data = invalid then return []

results = []
for each item in data.Items
tmp = CreateObject("roSGNode", "SearchData")
Expand Down

0 comments on commit a4c9800

Please sign in to comment.