This commit is contained in:
freek 2018-11-30 16:13:49 +01:00
parent dc87bfb221
commit d7114a778a
1 changed files with 1 additions and 1 deletions

View File

@ -33,10 +33,10 @@ class Router
{ {
$this->get('/app/{appKey}', WebSocketHandler::class); $this->get('/app/{appKey}', WebSocketHandler::class);
$this->post('/apps/{appId}/events', TriggerEventController::class);
$this->get('/apps/{appId}/channels', FetchChannelsController::class); $this->get('/apps/{appId}/channels', FetchChannelsController::class);
$this->get('/apps/{appId}/channels/{channelName}', FetchChannelController::class); $this->get('/apps/{appId}/channels/{channelName}', FetchChannelController::class);
$this->get('/apps/{appId}/channels/{channelName}/users', FetchUsersController::class); $this->get('/apps/{appId}/channels/{channelName}/users', FetchUsersController::class);
$this->post('/apps/{appId}/events', TriggerEventController::class);
} }
public function get(string $uri, $action) public function get(string $uri, $action)