diff --git a/backend/app/Models/Company.php b/backend/app/Models/Company.php index f98416b..f31ac61 100644 --- a/backend/app/Models/Company.php +++ b/backend/app/Models/Company.php @@ -44,7 +44,7 @@ class Company extends Model /** * Get the contact person (user) for the company. */ - public function contact() + public function contactPerson() { return $this->belongsTo(User::class, 'contact'); }