Closed avalohack closed 2 years ago
//without the "use Laravel\Passport\HasApiTokens;" it generates this error -> Call to undefined method App\Models\User::withAccessToken() status 500 use Laravel\Passport\HasApiTokens;
//without the "use Laravel\Passport\HasApiTokens;" it generates this error -> Call to undefined method App\Models\User::withAccessToken() status 500 use Laravel\Passport\HasApiTokens;![image](https://user-images.githubusercontent.com/21070792/147704068-b4338593-ef6f-490b-a321-4d497be3ac76.png)