Closed tiagomatosweb closed 1 month ago
Hi, I was just wondering if there is a way to interact/intercept the endpoints.user endpoint so that I can customise (right after the fetch) what should be available in the composable useSanctumUser.
endpoints.user
useSanctumUser
For example, my endpoints.user endpoint returns
{ id: 10, name: 'Jon', age: 30 }
But I want to make available in the composer only
{ id: 10, name: 'Jon', }
Removing the age.
Of course, it was just an hypothetical example.
Great plugin
Hi, I was just wondering if there is a way to interact/intercept the
endpoints.user
endpoint so that I can customise (right after the fetch) what should be available in the composableuseSanctumUser
.For example, my
endpoints.user
endpoint returnsBut I want to make available in the composer only
Removing the age.
Of course, it was just an hypothetical example.
Great plugin