We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1d6f8 commit df27071Copy full SHA for df27071
src/index.ts
@@ -36,7 +36,7 @@ import _ from "lodash"
36
* @param content The content to convert.
37
* @param headers HTTP Headers provided with a request.
38
*/
39
-export default function convertBody(content: Buffer | string, headers?: Headers): string {
+export function convertBody(content: Buffer | string, headers?: Headers): string {
40
// Try to extract content-type header
41
const contentType = !_.isNil(headers) ? headers.get("content-type") : null
42
0 commit comments