Update ApiV1Controller, improve query

pull/5894/head
Daniel Supernault 8 months ago
parent 7072354a49
commit aa6f95b1cf
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -1537,7 +1537,7 @@ class ApiV1Controller extends Controller
$user = $request->user();
$res = FollowRequest::whereFollowingId($user->profile->id)
$res = FollowRequest::whereFollowingId($user->profile_id)
->limit($request->input('limit', 40))
->pluck('follower_id')
->map(function ($id) {

Loading…
Cancel
Save