mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 14:03:16 +00:00
Update StoryController
This commit is contained in:
parent
b07d5ca3a0
commit
523d90cdec
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class StoryController extends Controller
|
|||
|
||||
$stories = Story::with('profile')
|
||||
->whereIn('profile_id', $following)
|
||||
->groupBy('profile_id')
|
||||
->groupBy(['id', 'profile_id'])
|
||||
->where('expires_at', '>', now())
|
||||
->orderByDesc('expires_at')
|
||||
->take(9)
|
||||
|
|
Loading…
Reference in a new issue