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