setAdmin -> setDashboardDomain

This commit is contained in:
Girish Ramakrishnan
2018-12-08 18:18:45 -08:00
parent 76677e0aea
commit cfb68a0511
4 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ function initializeExpressSync() {
// cloudron routes
router.get ('/api/v1/cloudron/update', cloudronScope, routes.cloudron.getUpdateInfo);
router.post('/api/v1/cloudron/update', cloudronScope, routes.cloudron.update);
router.post('/api/v1/cloudron/set_admin', cloudronScope, routes.cloudron.setAdmin);
router.post('/api/v1/cloudron/set_dashboard_domain', cloudronScope, routes.cloudron.setDashboardDomain);
router.post('/api/v1/cloudron/check_for_updates', cloudronScope, routes.cloudron.checkForUpdates);
router.get ('/api/v1/cloudron/reboot', cloudronScope, routes.cloudron.isRebootRequired);
router.post('/api/v1/cloudron/reboot', cloudronScope, routes.cloudron.reboot);