mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 09:17:03 +00:00
Merge pull request #1447 from pixelfed/frontend-ui-refactor
Update Profile model
This commit is contained in:
commit
0cf6f5e5b3
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue