a note to remember this tomorrow

This commit is contained in:
spencerrlongg 2024-02-06 17:45:46 -06:00
parent 5f8ac66036
commit 43d8474caa

View file

@ -513,6 +513,8 @@ class AssetModelsController extends Controller
$validator = Validator::make($data, $rules);
// Okay, this is the problem. Seems to be failing every time, kind of makes sense because it looks like
// $rules is an empty array, but I need to wrap my head around this entire method a little more.
if($validator->fails()){
return false;
}