mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
oauth response array
This commit is contained in:
@@ -60,6 +60,6 @@ class OauthController extends Controller
|
||||
{
|
||||
$user = Auth::user();
|
||||
$resource = new UserResource($user);
|
||||
return $this->success($resource);
|
||||
return $resource->response()->getData(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user