Need help with a simple expression defining an Add-on

I have a Xano table called games. I’m creating an API which will return data from a particular game. I want to extend the output to include data about the 2 teams that are playing in the game. The home team is represented in the game table by the field “team_home_id”. The visitor team is represented in the game table by the field “team_visitor_id”. So I want to include data from the 2 teams whose id matches either the “team_home_id” or the “team_visitor_id”. When I fill in the Route data to the Addon’s Input dialog, I defined “ANY team_id =

item.team_home_id || item.team_visitor_id

This expression didn't work - it returned an empty array for _teams. Can someone please tell me what I'm doing wrong?

Thx.

3 replies