Update the user role

after a user with role 'Adherant' participate on an activite , i want his role to change from 'Adherant' to 'Member' ,here is my code but it's not working and I dont know why !!!
No description
2 Replies
Tieme
Tieme4mo ago
Take a look at the docs : https://spatie.be/index.php/docs/laravel-permission/v6/introduction Maybe that can help. If not, what error do you get, does Member get assigend. What is happening now?
Imane Ouahmane
Imane Ouahmane4mo ago
everything goes well except the role is not updated , also i can reach and control all columns but the role column