nitpick
This commit is contained in:
parent
dc87bfb221
commit
d7114a778a
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue