mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Remove wrong argument to HttpMiddleware ctor
This commit is contained in:
parent
d7f14fae84
commit
c184fc5973
@ -38,7 +38,7 @@ class Dispatcher extends MainApp {
|
|||||||
public function __construct($params) {
|
public function __construct($params) {
|
||||||
parent::__construct('contacts', $params);
|
parent::__construct('contacts', $params);
|
||||||
$this->container = $this->getContainer();
|
$this->container = $this->getContainer();
|
||||||
$this->container->registerMiddleware(new HttpMiddleware($this->container));
|
$this->container->registerMiddleware(new HttpMiddleware());
|
||||||
$this->app = new App($this->container->query('API')->getUserId());
|
$this->app = new App($this->container->query('API')->getUserId());
|
||||||
$this->registerServices();
|
$this->registerServices();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user