diff --git a/src/Api/InterfaceControllerProvider.php b/src/Api/InterfaceControllerProvider.php index 16533b0..fc2864b 100644 --- a/src/Api/InterfaceControllerProvider.php +++ b/src/Api/InterfaceControllerProvider.php @@ -27,7 +27,7 @@ class InterfaceControllerProvider implements ControllerProviderInterface $controllers->get('/images', function (Application $app) { $getEmoBlocks = function($emotion, $feature, $steps = 6) { - $hitRepo = $this->_eh->getEm()->getRepository(EmotionHero\Models\Hit::class); + $hitRepo = $this->_eh->getEm()->getRepository(Models\Hit::class); $blocks = []; foreach(range(0, 100, 100/($steps-1)) as $i) { /* @var $hitRepo EmotionHero\Models\HitRepository */