malmike/SMSApplication

View on GitHub
src/routes/authentication/user_registration.router.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function userSignUp has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  userSignUp(): express.Router{
    this.router.post('/registerUser', async (req, res) => {
      const userData = req.body as User;
      UserModel.findOne({
        phone_number: userData.phone_number
Severity: Minor
Found in src/routes/authentication/user_registration.router.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status