Update Profile Model

This commit is contained in:
Daniel Supernault 2019-01-12 00:47:00 -07:00
parent eb652bf339
commit dc2a3da72d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -12,7 +12,7 @@ class Profile extends Model
protected $dates = ['deleted_at']; protected $dates = ['deleted_at'];
protected $hidden = ['private_key']; protected $hidden = ['private_key'];
protected $visible = ['username', 'name']; protected $visible = ['id', 'user_id', 'username', 'name'];
public function user() public function user()
{ {