How can i set a user role in the code - strapi

前端 未结 0 1960
长发绾君心
长发绾君心 2021-01-31 02:50

I have a bunch of users, The user will be logged in already and when they pay i want to change their role. How can i do this from code eg when a user clicks the \'pay now button

相关标签:
回答
  • 消灭零回复
提交回复
热议问题