mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +00:00
Update InternalApiController
This commit is contained in:
parent
fa6c3dd3f6
commit
406bbe0047
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class InternalApiController extends Controller
|
|||
$profile = Auth::user()->profile;
|
||||
$pid = $profile->id;
|
||||
$following = Cache::remember('feature:discover:following:'.$pid, 60, function() use ($pid) {
|
||||
return Follower::whereProfileId($pid)->pluck('following_id');
|
||||
return Follower::whereProfileId($pid)->pluck('following_id')->toArray();
|
||||
});
|
||||
$filters = Cache::remember("user:filter:list:$pid", 60, function() use($pid) {
|
||||
return UserFilter::whereUserId($pid)
|
||||
|
|
Loading…
Reference in a new issue