Remove a lot of references to user id.

This commit is contained in:
James Cole
2016-10-23 12:19:32 +02:00
parent 9a30fbd05a
commit c39659b064
21 changed files with 33 additions and 60 deletions

View File

@@ -433,7 +433,7 @@ class CategoryRepository implements CategoryRepositoryInterface
{
$newCategory = Category::firstOrCreateEncrypted(
[
'user_id' => $data['user'],
'user_id' => $this->user->id,
'name' => $data['name'],
]
);