Skip to content

Commit

Permalink
Fix response body on API auth
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimot24 committed Jul 1, 2024
1 parent 8df6221 commit 2c5b9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

$user->load('role');

return response()->json(['user' => $user], 200);
return response()->json($user, 200);
}
}

Expand Down

0 comments on commit 2c5b9ee

Please sign in to comment.