mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Need to call everything from collector to work.
This commit is contained in:
@@ -59,10 +59,10 @@ class JournalServiceProvider extends ServiceProvider
|
|||||||
function (Application $app) {
|
function (Application $app) {
|
||||||
/** @var JournalCollectorInterface $collector */
|
/** @var JournalCollectorInterface $collector */
|
||||||
$collector = app(JournalCollector::class);
|
$collector = app(JournalCollector::class);
|
||||||
|
|
||||||
if ($app->auth->check()) {
|
if ($app->auth->check()) {
|
||||||
$collector->setUser(auth()->user());
|
$collector->setUser(auth()->user());
|
||||||
}
|
}
|
||||||
|
$collector->startQuery();
|
||||||
|
|
||||||
return $collector;
|
return $collector;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user