moved roles to a separate database and added code to make updates
This commit is contained in:
parent
985f339725
commit
836ef8f1f6
14 changed files with 317 additions and 21 deletions
|
|
@ -10,7 +10,7 @@ use Illuminate\Http\Request;
|
|||
|
||||
class MovieController extends Controller
|
||||
{
|
||||
public function __construct(private MovieDbInterface $movieDb) {}
|
||||
public function __construct() {}
|
||||
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
|
|
@ -60,6 +60,6 @@ class MovieController extends Controller
|
|||
{
|
||||
$movies = $movieDb->search($query, $request->input('options', []));
|
||||
|
||||
return response()->json(['results' => $movies]);
|
||||
return response()->json(['data' => $movies]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue