Add /utils/revert, use in app

Fixes #485
This commit is contained in:
rijkvanzanten
2020-10-02 16:20:06 -04:00
parent 1524c3e398
commit eeedc01c53
25 changed files with 277 additions and 127 deletions

View File

@@ -3,6 +3,7 @@ import asyncHandler from 'express-async-handler';
import { RouteNotFoundException } from '../exceptions';
import { listExtensions } from '../extensions';
import env from '../env';
import { respond } from '../middleware/respond';
const router = Router();
@@ -25,7 +26,8 @@ router.get(
};
return next();
})
}),
respond
);
export default router;