Need to call everything from collector to work.

This commit is contained in:
James Cole 2017-01-30 17:10:23 +01:00
parent 3aaf356054
commit ac54032f55
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -59,10 +59,10 @@ class JournalServiceProvider extends ServiceProvider
function (Application $app) {
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollector::class);
if ($app->auth->check()) {
$collector->setUser(auth()->user());
}
$collector->startQuery();
return $collector;
}