diff --git a/app/Profile.php b/app/Profile.php index b386ffda6..7e6edcaea 100644 --- a/app/Profile.php +++ b/app/Profile.php @@ -308,4 +308,10 @@ class Profile extends Model { return $this->hasMany(Story::class); } + + + public function reported() + { + return $this->hasMany(Report::class, 'object_id'); + } }