mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update Story model, hide json attribute by default
This commit is contained in:
parent
e289a713a3
commit
de89403c41
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ class Story extends Model
|
|||
|
||||
protected $visible = ['id'];
|
||||
|
||||
protected $hidden = ['json'];
|
||||
|
||||
public function profile()
|
||||
{
|
||||
return $this->belongsTo(Profile::class);
|
||||
|
|
Loading…
Reference in a new issue