mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Update CollectionController, increase collection limit from 18 to 50
This commit is contained in:
parent
0f08fb6ff1
commit
c2826fd3fd
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue