proper task name for dashboard change

This commit is contained in:
Girish Ramakrishnan
2023-08-14 09:40:31 +05:30
parent abff970169
commit 4acbb7136a
13 changed files with 77 additions and 87 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ async function initializeExpressSync() {
// config route for dashboard that any auth user (not just admin) can access
router.get ('/api/v1/dashboard/config', token, authorizeUser, routes.dashboard.getConfig);
router.post('/api/v1/dashboard/prepare_location', json, token, authorizeAdmin, routes.dashboard.prepareLocation);
router.post('/api/v1/dashboard/prepare_location', json, token, authorizeAdmin, routes.dashboard.startPrepareLocation);
router.post('/api/v1/dashboard/location', json, token, authorizeAdmin, routes.dashboard.setupLocation);
// system (vm/server)