Update Story model, hide json attribute by default

This commit is contained in:
Daniel Supernault 2020-01-21 15:09:21 -07:00
parent e289a713a3
commit de89403c41
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ class Story extends Model
protected $visible = ['id'];
protected $hidden = ['json'];
public function profile()
{
return $this->belongsTo(Profile::class);