Addons: Weird results - Extra Null in structure?

Options
So I'm getting some really weird results for Addons in between Xano and Retool:

This is Xano:[image.png]
which results in this:[image.png]That 'null' is the problem.

As ReTool sees this as:
[image.png]

Comments

  • Sean Montgomery
    Sean Montgomery Administrator

    ADMIN

    Options
     - it looks like you have a double array. Is that intentional? feels like your "roles" addon should have an output=single on it so each role_id turns into an object.

    Another issue may be the data in that roles_id array. What values are inside that?
  • Toby -2289678
    Options
    So I fixed the Null value, which was a poor configuration of the addon.

    However, I can't get rid of the double array. 
  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
     perhaps change the return type on the addon to single? You can do this from the Addon page in the Library (Query all records > Output > Return)... or create a new Addon that is return type single