settings: move support config to support

This commit is contained in:
Girish Ramakrishnan
2023-08-02 22:21:30 +05:30
parent eb4213d61d
commit fccc2d04a9
8 changed files with 62 additions and 33 deletions

View File

@@ -342,6 +342,7 @@ async function initializeExpressSync() {
// support routes
router.post('/api/v1/support/ticket', json, token, authorizeOwner, routes.support.canCreateTicket, routes.support.createTicket);
router.get ('/api/v1/support/config', token, authorizeOwner, routes.support.getConfig);
router.get ('/api/v1/support/remote_support', token, authorizeOwner, routes.support.getRemoteSupport);
router.post('/api/v1/support/remote_support', json, token, authorizeOwner, routes.support.canEnableRemoteSupport, routes.support.enableRemoteSupport);