Closed jamesmawm closed 4 years ago
Currently duplicate usernames are allowed to be stored in DB when the OnSignup() method in api.go is called. Kindly assist to validate that a username is in use, and throw an error if so. Update the response in swagger.yml too as you go along.
OnSignup()
api.go
swagger.yml
May I take this one?
Sure!
Thanks!
Currently duplicate usernames are allowed to be stored in DB when the
OnSignup()
method inapi.go
is called. Kindly assist to validate that a username is in use, and throw an error if so. Update the response inswagger.yml
too as you go along.