added auth support
This commit is contained in:
parent
67ebbbe329
commit
8970e82780
9 changed files with 289 additions and 14 deletions
|
|
@ -26,7 +26,7 @@ class MovieListController extends Controller
|
|||
$validated = $request->validated();
|
||||
$movieList = MovieList::create([
|
||||
...$validated,
|
||||
'owner' => 1, // auth()->id(),
|
||||
'owner' => auth()->id(),
|
||||
'slug' => Str::slug($validated['name']),
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue