forked from mirror/pixelfed
Update Profile Model
This commit is contained in:
parent
eb652bf339
commit
dc2a3da72d
|
@ -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 New Issue