diff --git a/app/StoryItem.php b/app/StoryItem.php index 542b6508..88500696 100644 --- a/app/StoryItem.php +++ b/app/StoryItem.php @@ -6,8 +6,8 @@ use Illuminate\Database\Eloquent\Model; class StoryItem extends Model { - public function story() - { - return $this->belongsTo(Story::class); - } + public function story() + { + return $this->belongsTo(Story::class); + } } diff --git a/app/StoryReaction.php b/app/StoryReaction.php index 8b9cc806..dff5c7ce 100644 --- a/app/StoryReaction.php +++ b/app/StoryReaction.php @@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model; class StoryReaction extends Model { - // + public function story() + { + return $this->belongsTo(Story::class); + } }