From 2357b7ea38eadca7fbdb53b7d088225aba56c6cd Mon Sep 17 00:00:00 2001 From: KishenKumarrrrr Date: Fri, 22 Nov 2024 14:12:29 +0800 Subject: [PATCH] chore: unwrap functions --- backend/src/email/routes/email-callback.routes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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