support: add route to repair apps

This commit is contained in:
Girish Ramakrishnan
2024-07-11 18:30:29 +02:00
parent 8754a208b1
commit 0bab0ed748
3 changed files with 27 additions and 1 deletions
+1
View File
@@ -383,6 +383,7 @@ async function initializeExpressSync() {
router.post('/api/v1/support/ticket', json, token, authorizeOwner, routes.support.createTicket);
router.get ('/api/v1/support/remote_support', token, authorizeOwner, routes.support.getRemoteSupport);
router.post('/api/v1/support/remote_support', json, token, authorizeOwner, routes.support.enableRemoteSupport);
router.post('/api/v1/support/repair_apps', json, token, authorizeOwner, routes.support.repairApps);
// domain routes
router.post('/api/v1/domains', json, token, authorizeAdmin, routes.domains.add);