I need help for register
I can get username and password but "userCreate" return null. what is wrong ?
7 Replies
Is it null because you've put the return before setting it?
which return ? i wrote like in the video.
return Ok();
I put it at the end and register was added to the data. should I remove the status code?
Thanks for help
I think the
return Ok();
should be in the line 36. To return the statuscode 200 if the user already exists.
I did it this way and i remove status code. now i can add user
this is also ok 👍