BREAKING CHANGE: no longer add express.json() by default to backend

This commit is contained in:
Fredrik Adelöw
2020-09-01 11:59:31 +02:00
parent 9d5cffe5ff
commit 568f398aa9
10 changed files with 21 additions and 9 deletions
@@ -42,6 +42,7 @@ export async function createRouter(
options: RouterOptions,
): Promise<express.Router> {
const router = Router();
router.use(express.json());
const {
preparers,