Add admin route to test digest

This commit is contained in:
Johannes Zellner
2019-02-27 12:05:45 +01:00
parent 345e4e846c
commit f1f8cdb6e9
2 changed files with 16 additions and 0 deletions

View File

@@ -346,6 +346,9 @@ function initializeSysadminExpressSync() {
router.post('/api/v1/retire', routes.sysadmin.retire);
router.post('/api/v1/apps/:id/import', routes.sysadmin.importAppDatabase);
// routes to test features otherwise hard to test
router.post('/api/v1/test/digest', routes.sysadmin.testDigest);
return httpServer;
}