Fix issue updating categories.

This commit is contained in:
James Cole
2020-04-08 06:43:58 +02:00
parent 136af9625a
commit 4aec1f06e0
2 changed files with 15 additions and 0 deletions

View File

@@ -267,6 +267,7 @@ class CategoryRepository implements CategoryRepositoryInterface
{
/** @var CategoryUpdateService $service */
$service = app(CategoryUpdateService::class);
$service->setUser($this->user);
return $service->update($category, $data);
}