Skip to content

Commit

Permalink
fix: team id not passed when creating category
Browse files Browse the repository at this point in the history
  • Loading branch information
frknasir committed Aug 3, 2022
1 parent 6652e8e commit fda07fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion src/Http/Controllers/CategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public function store(CreatesCategories $createsCategories)
{
$category = $createsCategories(
request()->user(),
request()->all()
request()->all(),
request('team_id')
);

return request()->wantsJson() ? response()->json(['category' => $category]) : redirect()->to(
Expand Down

0 comments on commit fda07fa

Please sign in to comment.