diff --git a/app/StoryItem.php b/app/StoryItem.php index 542b65082..885006968 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 8b9cc806a..dff5c7ce9 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); + } }