Skip to content

Commit

Permalink
fix(core): inject http adapter host failed
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Aug 27, 2023
1 parent 7b0eaeb commit 18e1226
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion shared/common/interceptors/cache.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class HttpCacheInterceptor implements NestInterceptor {
constructor(
private readonly cacheManager: CacheService,
@Inject(SYSTEM.REFLECTOR) private readonly reflector: Reflector,
@Inject(SYSTEM.HTTP_ADAPTER_HOST)

private readonly httpAdapterHost: HttpAdapterHost,
) {}

Expand Down
1 change: 0 additions & 1 deletion shared/constants/system.constant.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export const HTTP_ADAPTER_HOST = 'HttpAdapterHost';
export const REFLECTOR = 'Reflector';

export const RESPONSE_PASSTHROUGH_METADATA = '__responsePassthrough__';
Expand Down

0 comments on commit 18e1226

Please sign in to comment.