Api4 - Update entity directory
authorColeman Watts <coleman@civicrm.org>
Wed, 24 Jan 2018 16:13:02 +0000 (11:13 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 24 Jan 2018 16:13:02 +0000 (11:13 -0500)
Civi/API/Request.php

index 8e08ec810ebe44465340e6bd4c19c933e0b05d67..d44f769a6b80b31346253dd1f46a3dc2b7681400 100644 (file)
@@ -73,7 +73,7 @@ class Request {
         return $apiRequest;
 
       case 4:
-        $callable = array("Civi\\Api4\\Entity\\$entity", $action);
+        $callable = array("Civi\\Api4\\$entity", $action);
         if (!is_callable($callable)) {
           throw new Exception\NotImplementedException("API ($entity, $action) does not exist (join the API team and implement it!)");
         }