diff --git a/application-templates/javascript/event/src/routes/event.route.js b/application-templates/javascript/event/src/routes/event.route.js index ded79b2..afc58ec 100644 --- a/application-templates/javascript/event/src/routes/event.route.js +++ b/application-templates/javascript/event/src/routes/event.route.js @@ -7,7 +7,7 @@ const eventRouter = Router(); eventRouter.post('/', (req, res, next) => { logger.info('Event message received'); - + try { post(req, res); } catch (error) { diff --git a/application-templates/typescript/service/src/routes/service.route.ts b/application-templates/typescript/service/src/routes/service.route.ts index cff1253..fb5e663 100644 --- a/application-templates/typescript/service/src/routes/service.route.ts +++ b/application-templates/typescript/service/src/routes/service.route.ts @@ -10,8 +10,8 @@ serviceRouter.post('/', (req, res, next) => { try { post(req, res); } catch (error) { - next(error); + next(error); } }); -export default serviceRouter; \ No newline at end of file +export default serviceRouter;