diff --git a/app/Models/User.php b/app/Models/User.php index 2f83341..aa10f16 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -40,7 +40,7 @@ class User extends Authenticatable implements MustVerifyEmail public function agency() { - return $this->belongsTo(Agency::class); + return $this->belongsTo(\App\Models\Agency::class,'ms_agency_id'); } public function getScope(): string