Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivnathan committed Jun 13, 2024
1 parent b43ffa0 commit 14e55fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/signup/service/signup_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ func IsPhoneVerificationRequired(captchaChecker captcha.Assessor, ctx *gin.Conte
threshold := cfg.Verification().CaptchaScoreThreshold()
if score < threshold {
log.Info(ctx, fmt.Sprintf("the risk analysis score '%.1f' did not meet the expected threshold '%.1f'", score, threshold))
return true, score, assessment.Name
return true, score, assessment.GetName()
}

// verification not required, score is above threshold
return false, score, assessment.Name
return false, score, assessment.GetName()
}

func extractEmailHost(email string) string {
Expand Down

0 comments on commit 14e55fd

Please sign in to comment.