diff --git a/src/Tenancy.php b/src/Tenancy.php index c3258505..60c4f306 100644 --- a/src/Tenancy.php +++ b/src/Tenancy.php @@ -84,7 +84,7 @@ class Tenancy public function find($id): ?Tenant { - return $this->model()->find($id); + return $this->model()->where($this->model()->getTenantKeyName(), $id)->first(); } /**