andela/team-odd-bn-backend

View on GitHub
src/helpers/UserHelper.js

Summary

Maintainability
A
1 hr
Test Coverage

Function socialCallBack has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  static async socialCallBack(accessToken, refreshToken, profile, signupTypeParameter, done) {
    try {
      const data = {
        id: profile.id,
        firstName: profile.name.givenName,
Severity: Minor
Found in src/helpers/UserHelper.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status