reafactor: deprecate legacy handlers and context

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-05-20 13:31:47 +02:00
parent 40ae05f3c6
commit 3bd04bb3ac
9 changed files with 16 additions and 5 deletions
@@ -481,6 +481,7 @@ export function createPermissionIntegrationRouter<
},
);
// TODO(belugas): Remove this when dropping support to the legacy backend system because setting the error handler manually is no logger required in the new system.
router.use(errorHandler());
return router;