From c2826fd3fd51bef0e6cae7169e2a2ea26d5f96ba Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 7 Dec 2019 19:43:46 -0700 Subject: [PATCH] Update CollectionController, increase collection limit from 18 to 50 --- app/Http/Controllers/CollectionController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/CollectionController.php b/app/Http/Controllers/CollectionController.php index c2c62350d..588340a35 100644 --- a/app/Http/Controllers/CollectionController.php +++ b/app/Http/Controllers/CollectionController.php @@ -121,8 +121,8 @@ class CollectionController extends Controller $collection = Collection::whereProfileId($profileId)->findOrFail($collectionId); $count = $collection->items()->count(); - if($count >= 18) { - abort(400, 'You can only add 18 posts per collection'); + if($count >= 50) { + abort(400, 'You can only add 50 posts per collection'); } $status = Status::whereScope('public')