diff --git a/packages/react-server-middleware-json-response/index.src.js b/packages/react-server-middleware-json-response/index.src.js index 0e2a8e52a..5a3094025 100644 --- a/packages/react-server-middleware-json-response/index.src.js +++ b/packages/react-server-middleware-json-response/index.src.js @@ -4,8 +4,8 @@ export default class JsonResponseMiddleware { return { isRawResponse: true }; } - getContentType(next) { - return next() || 'application/json'; + getContentType() { + return 'application/json'; } getResponseData(next) {