diff --git a/Civi/API/Request.php b/Civi/API/Request.php index c60ceade9e66..8e08ec810ebe 100644 --- a/Civi/API/Request.php +++ b/Civi/API/Request.php @@ -73,7 +73,7 @@ public static function create($entity, $action, $params, $extra = NULL) { return $apiRequest; case 4: - $callable = array("Civi\\API\\V4\\Entity\\$entity", $action); + $callable = array("Civi\\Api4\\Entity\\$entity", $action); if (!is_callable($callable)) { throw new Exception\NotImplementedException("API ($entity, $action) does not exist (join the API team and implement it!)"); }