Open heychazza opened 10 months ago
Hi,
I use a DataResource model for my frontend, but I'd also like to use this same model for my API. However, I don't want to show the 'permissions' for my frontend.
I could unset($data['permissions']); but I think a built-in way would look nicer
unset($data['permissions']);
Hi,
I use a DataResource model for my frontend, but I'd also like to use this same model for my API. However, I don't want to show the 'permissions' for my frontend.
I could
unset($data['permissions']);
but I think a built-in way would look nicer