1
0
Daniel Supernault 5 жил өмнө
parent
commit
523d90cdec

+ 1 - 1
app/Http/Controllers/StoryController.php

@@ -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)