diff --git a/app/Http/Controllers/Admin/AdminInstanceController.php b/app/Http/Controllers/Admin/AdminInstanceController.php index 6dfa8d7b..061fefb4 100644 --- a/app/Http/Controllers/Admin/AdminInstanceController.php +++ b/app/Http/Controllers/Admin/AdminInstanceController.php @@ -44,7 +44,7 @@ trait AdminInstanceController { Profile::whereNotNull('domain') ->latest() - ->groupBy('domain') + ->groupBy(['domain', 'id']) ->where('created_at', '>', now()->subMonths(2)) ->chunk(100, function($domains) { foreach($domains as $domain) {