1
0
Fork 0

Merge pull request #1447 from pixelfed/frontend-ui-refactor

Update Profile model
This commit is contained in:
daniel 2019-06-21 14:05:04 -06:00 committed by GitHub
commit 0cf6f5e5b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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()
{