mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 20:44:46 +00:00
change some comments
This commit is contained in:
@@ -257,7 +257,7 @@ func (s *User) VerifyEmail(ctx context.Context, req *pb.VerifyEmailRequest, rsp
|
||||
return errors.BadRequest("user.verifyemail", "missing email")
|
||||
}
|
||||
if len(req.Token) == 0 {
|
||||
return errors.BadRequest("user.verifyemail", "missing token")
|
||||
return errors.BadRequest("user.verifytoken", "missing token")
|
||||
}
|
||||
|
||||
// check the token exists
|
||||
|
||||
Reference in New Issue
Block a user