formatting

This commit is contained in:
spencerrlongg 2023-11-01 12:14:46 -05:00
parent 3f834cb88f
commit e05af5216e

View file

@ -35,11 +35,11 @@ class StoreAssetRequest extends ImageUploadRequest
parent::rules(), parent::rules(),
); );
// unsets unique check here, that check cannot run twice. // unsets unique check here, that check cannot run twice.
$rules['asset_tags.*'] = $rules['asset_tag']; $rules['asset_tags.*'] = $rules['asset_tag'];
unset($rules['asset_tag']); unset($rules['asset_tag']);
$rules['serials.*'] = $rules['serial']; $rules['serials.*'] = $rules['serial'];
unset($rules['serial']); unset($rules['serial']);
return $rules; return $rules;
} }