diff --git a/app/Http/Controllers/Staff/ModerationController.php b/app/Http/Controllers/Staff/ModerationController.php index d91005aa5..c36a31585 100644 --- a/app/Http/Controllers/Staff/ModerationController.php +++ b/app/Http/Controllers/Staff/ModerationController.php @@ -48,15 +48,15 @@ class ModerationController extends Controller return view('Staff.moderation.index', [ 'current' => now(), 'pending' => Torrent::withoutGlobalScope(ApprovedScope::class) - ->with(['user.group', 'category', 'type', 'resolution', 'category']) + ->with(['user.group', 'category', 'type', 'resolution']) ->where('status', '=', Torrent::PENDING) ->get(), 'postponed' => Torrent::withoutGlobalScope(ApprovedScope::class) - ->with(['user.group', 'moderated.group', 'category', 'type', 'resolution', 'category']) + ->with(['user.group', 'moderated.group', 'category', 'type', 'resolution']) ->where('status', '=', Torrent::POSTPONED) ->get(), 'rejected' => Torrent::withoutGlobalScope(ApprovedScope::class) - ->with(['user.group', 'moderated.group', 'category', 'type', 'resolution', 'category']) + ->with(['user.group', 'moderated.group', 'category', 'type', 'resolution']) ->where('status', '=', Torrent::REJECTED) ->get(), ]);