The ValidateToken method in the Service layer is no longer required in the user context as token-related functionalities are being moved. It needs to be removed to keep the codebase clean and efficient.
Path of the file to be changed
internal/domain/service/service.go
Code to be Removed
// ValidateToken checks the validity of a token
func (s *Service) ValidateToken(token *mo.Token) error {
return token.Validate()
}
The changes will be merged into the enhance/team/66/implement-password-validation branch first. Therefore, set the base branch of the pull request as enhance/team/66/implement-password-validation.
The
ValidateToken
method in theService
layer is no longer required in the user context as token-related functionalities are being moved. It needs to be removed to keep the codebase clean and efficient.Path of the file to be changed
internal/domain/service/service.go
Code to be Removed
The changes will be merged into the
enhance/team/66/implement-password-validation
branch first. Therefore, set the base branch of the pull request asenhance/team/66/implement-password-validation
.