Fix pagination bug for like and comment events

This commit is contained in:
Daniel Supernault 2018-06-03 21:04:01 -06:00
parent dfe451db70
commit 4751832ad3
8 changed files with 16 additions and 11 deletions

View file

@ -24,9 +24,9 @@ class ApiController extends Controller
$likes = Like::whereProfileId($profile->id)
->orderBy('id', 'desc')
->take(100)
->take(1000)
->pluck('status_id');
return response()->json($likes);
}
}