Update AdminInstanceController, fix instance scan

pull/1788/head
Daniel Supernault 6 years ago
parent c69784f4c6
commit 79292ad610
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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) {

Loading…
Cancel
Save