Remove url validation
This commit is contained in:
parent
eb69ea05fa
commit
aa05c947a9
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ class ItemController extends Controller
|
|||
//
|
||||
$validatedData = $request->validate([
|
||||
'title' => 'required|max:255',
|
||||
'url' => 'required|url',
|
||||
'url' => 'required',
|
||||
]);
|
||||
|
||||
if($request->hasFile('file')) {
|
||||
|
@ -217,7 +217,7 @@ class ItemController extends Controller
|
|||
{
|
||||
$validatedData = $request->validate([
|
||||
'title' => 'required|max:255',
|
||||
'url' => 'required|url',
|
||||
'url' => 'required',
|
||||
]);
|
||||
//die(print_r($request->all()));
|
||||
if($request->hasFile('file')) {
|
||||
|
|
Loading…
Reference in a new issue