diff --git a/app/Story.php b/app/Story.php index 9ac755c97..447ea3c82 100644 --- a/app/Story.php +++ b/app/Story.php @@ -6,6 +6,13 @@ use Illuminate\Database\Eloquent\Model; class Story extends Model { + protected $visible = ['id']; + + public function profile() + { + return $this->belongsTo(Profile::class); + } + public function items() { return $this->hasMany(StoryItem::class);