I am getting data as an object in response from laravel fractal library by default for all APIs.
I don't want data instead I want some custom name instead of data but I am not able to do that.
How to customize the code from the fractal library to get the item instead of data.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire