diff --git a/app/Http/Controllers/v1/JoinController.php b/app/Http/Controllers/v1/JoinController.php index 506e3fe..65db2ed 100644 --- a/app/Http/Controllers/v1/JoinController.php +++ b/app/Http/Controllers/v1/JoinController.php @@ -298,7 +298,7 @@ public function begin(Request $request) ->pluck('id') ->toArray(); - if (count($ids) < $rule->question_count) + if (count($ids) < $count) { return $this->resOK('no_question'); }