Merge pull request #6479 from pixelfed/shleeable-patch-5

Update BaseApiController.php - Fix #6478
staging
dansup 3 days ago committed by GitHub
commit a73bbb12e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -69,6 +69,12 @@ class BaseApiController extends Controller
NotificationWarmUserCache::dispatch($pid);
}
$res = collect($res)
->filter(function ($n) {
return isset($n['account'], $n['account']['id']);
})
->values();
return response()->json($res);
}

Loading…
Cancel
Save