mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code fixes.
This commit is contained in:
@@ -64,7 +64,7 @@ class AccountServiceProvider extends ServiceProvider
|
||||
/** @var AccountRepositoryInterface $repository */
|
||||
$repository = app(AccountRepository::class);
|
||||
|
||||
if ($app->auth->check()) {
|
||||
if ($app->auth->check()) {
|
||||
$repository->setUser(auth()->user());
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ class AccountServiceProvider extends ServiceProvider
|
||||
/** @var OperationsRepository $repository */
|
||||
$repository = app(OperationsRepository::class);
|
||||
|
||||
if ($app->auth->check()) {
|
||||
if ($app->auth->check()) {
|
||||
$repository->setUser(auth()->user());
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ class AccountServiceProvider extends ServiceProvider
|
||||
/** @var AccountTaskerInterface $tasker */
|
||||
$tasker = app(AccountTasker::class);
|
||||
|
||||
if ($app->auth->check()) {
|
||||
if ($app->auth->check()) {
|
||||
$tasker->setUser(auth()->user());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user