kopia lustrzana https://github.com/pixelfed/pixelfed
Merge pull request #593 from pixelfed/frontend-ui-refactor
Update InternalApiControllerpull/614/head
commit
03bdc9840b
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue