From de89403c4187fe8bc657de4ce88460f0da285eaf Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 21 Jan 2020 15:09:21 -0700 Subject: [PATCH] Update Story model, hide json attribute by default --- app/Story.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Story.php b/app/Story.php index b80101aec..3e6c0266e 100644 --- a/app/Story.php +++ b/app/Story.php @@ -30,6 +30,8 @@ class Story extends Model protected $visible = ['id']; + protected $hidden = ['json']; + public function profile() { return $this->belongsTo(Profile::class);