Corrección tag_number nullable en TagsController
This commit is contained in:
parent
3e48f8d6db
commit
3079826f0f
@ -62,8 +62,7 @@ public function store(Request $request)
|
||||
$validated = $request->validate([
|
||||
'folio' => 'required|string|max:255',
|
||||
'box_id' => 'required|integer|exists:boxes,id',
|
||||
'tag_number' => 'required|string|max:255',
|
||||
'module_id' => 'nullable|integer|exists:modules,id',
|
||||
'tag_number' => 'nullable|string|max:255',
|
||||
]);
|
||||
|
||||
$tag = Tag::create($validated);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user