short-d/short

View on GitHub
backend/app/usecase/sso/sso.go

Summary

Maintainability
A
45 mins
Test Coverage

Showing 1 of 1 total issue

Method SingleSignOn.SignIn has 7 return statements (exceeds 4 allowed).
Open

func (o SingleSignOn) SignIn(authorizationCode string) (string, error) {
if len(authorizationCode) < 1 {
return "", errors.New("authorizationCode can't be empty")
}
 
 
Severity: Major
Found in backend/app/usecase/sso/sso.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status