This commit is contained in:
Vaidas Lungis committed 2015-01-08 11:02:39 +02:00
1 parent 53b2f5903d
commit 5aa00126b4
1 file changed
+1 -1
+1 -1
View File
@@ -201,7 +201,7 @@ $di['api'] = $di->protect(function($role) use($di) {
break;
default :
throw new Exception('Unrecognized Handler type: '.$this->type);
throw new Exception('Unrecognized Handler type: '.$role);
}
$api = new Api_Handler($identity);
$api->setDi($di);