mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-28 00:34:19 +00:00
added seeder
added user to return role
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ Route::group(['middleware' => 'auth:api'], function () {
|
||||
Route::post('logout', 'Auth\LoginController@logout');
|
||||
|
||||
Route::get('/user', function (Request $request) {
|
||||
return $request->user()->load('roles');
|
||||
return $request->user();
|
||||
});
|
||||
|
||||
Route::patch('settings/profile', 'Settings\ProfileController@update');
|
||||
|
||||
Reference in New Issue
Block a user