Update Profile model

This commit is contained in:
Daniel Supernault 2019-06-21 14:04:45 -06:00
parent 1e8b0927a7
commit abec5e4861
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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