Update Profile model

pull/1447/head
Daniel Supernault 6 years ago
parent 1e8b0927a7
commit abec5e4861
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save