You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
I have two models in my app as 'Owner' and 'Place'.
Owner and Place are related by hasMany relation (i.e Owner hasMany Place).
Now I am trying to populate all the places that belong to respective owners in a single GET request i.e localhost:3000/api/owners?filter[include]=places.
But the problem is I am getting the owner details but there's no 'places' array returned in the response.
Please anybody help me on this.
The text was updated successfully, but these errors were encountered:
I have two models in my app as 'Owner' and 'Place'.
Owner and Place are related by hasMany relation (i.e Owner hasMany Place).
Now I am trying to populate all the places that belong to respective owners in a single GET request i.e localhost:3000/api/owners?filter[include]=places.
But the problem is I am getting the owner details but there's no 'places' array returned in the response.
Please anybody help me on this.
The text was updated successfully, but these errors were encountered: