Skip to content

Commit

Permalink
Merge pull request #7 from starfolksoftware/fix/tenancy
Browse files Browse the repository at this point in the history
fix: team id not passed when creating category
  • Loading branch information
frknasir committed Aug 3, 2022
2 parents 6652e8e + fda07fa commit 6824ad6
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 6824ad6

Please sign in to comment.