mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 16:44:50 +00:00
commit
6b055724a5
2 changed files with 3 additions and 2 deletions
|
@ -32,10 +32,11 @@ class Kernel extends HttpKernel
|
|||
\App\Http\Middleware\FrameGuard::class,
|
||||
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||
\Illuminate\Session\Middleware\StartSession::class,
|
||||
// \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||
\Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
\Laravel\Passport\Http\Middleware\CreateFreshApiToken::class,
|
||||
// 'restricted',
|
||||
],
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ class SharePipeline implements ShouldQueue
|
|||
|
||||
$parent->reblogs_count = $parent->shares()->count();
|
||||
$parent->save();
|
||||
StatusService::del($parent);
|
||||
StatusService::del($parent->id);
|
||||
|
||||
try {
|
||||
$notification = new Notification;
|
||||
|
|
Loading…
Reference in a new issue