Skip to content
Snippets Groups Projects
Unverified Commit 3d606e9a authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[games] Updated controller

parent 46d257d0
Branches
Tags
No related merge requests found
Pipeline #107054 failed with stages
in 42 seconds
......@@ -40,7 +40,7 @@ class GameController extends Controller
public function index()
{
return response()->json([
"games" => Game::all()
"games" => Game::with("users:id")->get()
]);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment