moved roles to a separate database and added code to make updates

This commit is contained in:
Edward Tirado Jr 2026-04-09 18:30:16 -05:00
parent 985f339725
commit 836ef8f1f6
14 changed files with 317 additions and 21 deletions

View file

@ -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]);
}
}