Hide unnecessary fields in API response

pull/3/head
Hasin Hayder 3 years ago
parent cb91b5011d
commit c74b3a0987

@ -32,6 +32,9 @@ class User extends Authenticatable
protected $hidden = [ protected $hidden = [
'password', 'password',
'remember_token', 'remember_token',
'created_at',
'updated_at',
'email_verified_at'
]; ];
/** /**

Loading…
Cancel
Save