Revert StoryController update

pull/1922/head
Daniel Supernault 5 years ago
parent 70b98d9ace
commit e30823dbf2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -106,8 +106,8 @@ class StoryController extends Controller
$stories = Story::with('profile')
->whereIn('profile_id', $following)
->groupBy(['id', 'profile_id'])
->where('expires_at', '>', now())
->groupBy('profile_id')
->orderByDesc('expires_at')
->take(9)
->get()

Loading…
Cancel
Save