|
|
@@ -59,7 +59,7 @@ final class Dispatcher
|
|
|
$app->get('/v1/analytics/sentiment/dashboard', $auth, \Controllers\AnalyticsSentimentDashboardController::class);
|
|
|
$app->get('/v1/personas/overview', $auth, \Controllers\PersonasOverviewController::class);
|
|
|
$app->get('/v1/evolution/overview', $auth, \Controllers\EvolutionOverviewController::class);
|
|
|
- $app->get('/v1/executive/dashboard', $auth, \Controllers\ExecutiveDashboardController::class);
|
|
|
+ $app->get('/v1/executive/dashboard', $auth, new RoleMiddleware(Roles::ADMIN), \Controllers\ExecutiveDashboardController::class);
|
|
|
|
|
|
// SLA.
|
|
|
$app->get('/v1/sla/configs', $auth, \Controllers\SlaConfigsController::class);
|