Add API to get subscription

This commit is contained in:
Girish Ramakrishnan
2019-05-03 20:17:40 -07:00
parent f6e82e93e4
commit ccb2fcf39b
4 changed files with 35 additions and 17 deletions

View File

@@ -138,6 +138,7 @@ function initializeExpressSync() {
// subscription routes
router.post('/api/v1/subscription', subscriptionScope, routes.subscription.subscribeCloudron);
router.get ('/api/v1/subscription', subscriptionScope, routes.subscription.getSubscription);
// tasks
router.get ('/api/v1/tasks', settingsScope, routes.tasks.list);