Hello. There is a method that is responsible for registration: 
The highlighted line calls the method: 
Here is the root responsible for this: 
In fact, after registering a user, the redirect to / api / role should add data to the roles table, but this does not happen, only data is added to the users table, nothing is added to the roles. in the console just undefined: 
How to fix?
