diff --git a/Contestation/verify_facial_api.php b/Contestation/verify_facial_api.php index 676ce6d..96c5103 100644 --- a/Contestation/verify_facial_api.php +++ b/Contestation/verify_facial_api.php @@ -192,7 +192,7 @@ class FacialVerificationAPI { 'match' => false, 'message' => $comparisonResult['error'], // 'attempts_remaining'=> $this->maxAttempts - ($request['attempts'] + 1) - 'attempts_remaining'=> $this->maxAttempts - $request['attempts']) + 'attempts_remaining'=> ($this->maxAttempts - $request['attempts']) ]; }