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

View file

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