mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Profile Model
This commit is contained in:
parent
eb652bf339
commit
dc2a3da72d
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue