diff --git a/app/Http/Requests/StoreImageAnnotationLabel.php b/app/Http/Requests/StoreImageAnnotationLabel.php index 0667624ba..321024a95 100644 --- a/app/Http/Requests/StoreImageAnnotationLabel.php +++ b/app/Http/Requests/StoreImageAnnotationLabel.php @@ -43,8 +43,7 @@ public function authorize() public function rules() { return [ - 'label_id' => 'required_without:feature_vector|integer|exists:labels,id', - 'feature_vector' => 'required_without:label_id|array|size:384', + 'label_id' => 'required|integer|exists:labels,id', 'confidence' => 'required|numeric|between:0,1', ]; }