summaryrefslogtreecommitdiffstats
path: root/apps/user_status/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_status/appinfo/routes.php')
-rw-r--r--apps/user_status/appinfo/routes.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/user_status/appinfo/routes.php b/apps/user_status/appinfo/routes.php
index d360dc1ebd5..147d1927358 100644
--- a/apps/user_status/appinfo/routes.php
+++ b/apps/user_status/appinfo/routes.php
@@ -35,9 +35,8 @@ return [
['name' => 'UserStatus#setCustomMessage', 'url' => '/api/v1/user_status/message/custom', 'verb' => 'PUT'],
['name' => 'UserStatus#clearMessage', 'url' => '/api/v1/user_status/message', 'verb' => 'DELETE'],
// Routes for listing default routes
- ['name' => 'PredefinedStatus#findAll', 'url' => '/api/v1/predefined_statuses/', 'verb' => 'GET']
- ],
- 'routes' => [
- ['name' => 'Heartbeat#heartbeat', 'url' => '/heartbeat', 'verb' => 'PUT'],
+ ['name' => 'PredefinedStatus#findAll', 'url' => '/api/v1/predefined_statuses/', 'verb' => 'GET'],
+ // Route for doing heartbeats
+ ['name' => 'Heartbeat#heartbeat', 'url' => '/api/v1/heartbeat', 'verb' => 'PUT'],
],
];