mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Fixes #1521
This commit is contained in:
parent
02f002a02d
commit
a8fe297c2b
1 changed files with 1 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Reference in a new issue