From 406bbe0047775117d63514f12c37a0d565a0766d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 24 Nov 2018 23:47:56 -0700 Subject: [PATCH] Update InternalApiController --- app/Http/Controllers/InternalApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/InternalApiController.php b/app/Http/Controllers/InternalApiController.php index 1bbb3d2c..70854364 100644 --- a/app/Http/Controllers/InternalApiController.php +++ b/app/Http/Controllers/InternalApiController.php @@ -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)