From 69f33bddcd0d5305238aafc0614681619b05c89b Mon Sep 17 00:00:00 2001 From: Sean Sica <23294618+seansica@users.noreply.github.com> Date: Tue, 10 Sep 2024 13:02:23 -0400 Subject: [PATCH] fix: comment out portion of SetResponseMediaType interceptor that replaces 'taxii' with 'stix' --- .../interceptors/set-response-media-type.interceptor.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/interceptors/set-response-media-type.interceptor.ts b/src/common/interceptors/set-response-media-type.interceptor.ts index d5ed332..783db0d 100644 --- a/src/common/interceptors/set-response-media-type.interceptor.ts +++ b/src/common/interceptors/set-response-media-type.interceptor.ts @@ -24,10 +24,10 @@ export class SetResponseMediaType implements NestInterceptor { const requestedMediaType: MediaTypeObject = req[MEDIA_TYPE_TOKEN]; - requestedMediaType._subType = requestedMediaType._subType.replace( - "taxii", - "stix" - ); + // requestedMediaType._subType = requestedMediaType._subType.replace( + // "taxii", + // "stix" + // ); const contentType = requestedMediaType.toString();