KodeStar
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
app/Http/Controllers/ItemController.php
|
|
@ -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')) { |
|
|
|