1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-03-03 10:16:05 +00:00
This commit is contained in:
Daniel Supernault 2019-07-20 19:21:50 -06:00
parent 02f002a02d
commit a8fe297c2b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -122,7 +122,7 @@ class CollectionController extends Controller
}
$status = Status::whereScope('public')
->whereIn('type', ['photo'])
->whereIn('type', ['photo', 'photo:album', 'video'])
->findOrFail($postId);
$item = CollectionItem::firstOrCreate([