Update responseBody.factory.ts
MODIFY
packages/core/src/response/responseBody.factory.ts
packages/core/src/response/responseBody.factory.ts
@@ -5,6 +5,7 @@ export const bodyFactory = (headers: HttpHeaders) => (body: any) => {
if (isStream(body)) {
return body;
}
+
switch (headers['Content-Type']) {
case ContentType.APPLICATION_JSON:
return JSON.stringify(body);

Update responseBody.factory.ts