diff --git a/public/API/API_GetComments.php b/public/API/API_GetComments.php index 1c319e052..1295177a3 100644 --- a/public/API/API_GetComments.php +++ b/public/API/API_GetComments.php @@ -66,7 +66,7 @@ if ($username) { $user = User::firstWhere('User', $username); - if (!$user || !$user->UserWallActive || $user->banned_at || Auth::user()->banned_at) { + if (!$user || !$user->UserWallActive || $user->banned_at) { return response()->json([], 404); } }