diff --git a/backend/src/email/routes/email-callback.routes.ts b/backend/src/email/routes/email-callback.routes.ts index 939af206e..0e278f86e 100644 --- a/backend/src/email/routes/email-callback.routes.ts +++ b/backend/src/email/routes/email-callback.routes.ts @@ -21,8 +21,8 @@ router.post( 'printConfirmSubscription', () => EmailCallbackMiddleware.printConfirmSubscription ), - tracer.wrap('isAuthenticated', () => EmailCallbackMiddleware.isAuthenticated), - tracer.wrap('parseEvent', () => EmailCallbackMiddleware.parseEvent) + EmailCallbackMiddleware.isAuthenticated, + EmailCallbackMiddleware.parseEvent ) export default router