From 8cb8970b9e33612bb67c282015922f7bdf073e4b Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Wed, 26 Mar 2025 23:32:23 +0900 Subject: [PATCH] fix: remove forced ExecuteContext in LoggedMiddleware --- src/logged/methods/middleware.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logged/methods/middleware.ts b/src/logged/methods/middleware.ts index 0c33318..81d3649 100644 --- a/src/logged/methods/middleware.ts +++ b/src/logged/methods/middleware.ts @@ -1,5 +1,5 @@ import { OverrideBuildOptions } from '../utils'; -import { ExecutionContext, Logger } from '@nestjs/common'; +import { Logger } from '@nestjs/common'; import { loggerInit } from '../utils'; import { LoggedMetadata, nestLoggedMetadata } from '../metadata'; import { scopedLogger, returns, ReturnsReflectData } from '../../reflected'; @@ -12,7 +12,7 @@ export function LoggedMiddleware, R>( _target: any, key: string, descriptor: TypedPropertyDescriptor< - (context: ExecutionContext, ...args: F) => R + (...args: F) => R >, ) => { loggerInit(_target);