As you can see this makes no sense since those fields dont exist on each ownership. What we need to do is fetch assets using the GET /user/assets route and amend that route to construct out the object to look like this by acessing the actual listing.
the ownerships field on each user looks something like this.
{listingId:, amount}
The code is then trying to pass this ownership to build the table to display assets like this:
As you can see this makes no sense since those fields dont exist on each ownership. What we need to do is fetch assets using the
GET /user/assets
route and amend that route to construct out the object to look like this by acessing the actual listing.