Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Commit 1b68a10

Browse files
committed
Fixed again.
1 parent 46150f7 commit 1b68a10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Http/Controllers/API/DiscoverController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function recommendations(Request $request) {
8585

8686
$movies = $this->filterMovies($movies);
8787

88-
return response()->json($movies);
88+
return response()->json(array_values($movies));
8989
}
9090

9191
function filterMovies($movies)

0 commit comments

Comments
 (0)