mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update StoryReaction model
This commit is contained in:
parent
d9f61d0424
commit
d5bb6626b3
2 changed files with 8 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
class StoryReaction extends Model
|
||||
{
|
||||
//
|
||||
public function story()
|
||||
{
|
||||
return $this->belongsTo(Story::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue