Skip to content

Commit df27071

Browse files
committed
fix!: Use named export
Signed-off-by: Richie Bendall <[email protected]>
1 parent 1b1d6f8 commit df27071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import _ from "lodash"
3636
* @param content The content to convert.
3737
* @param headers HTTP Headers provided with a request.
3838
*/
39-
export default function convertBody(content: Buffer | string, headers?: Headers): string {
39+
export function convertBody(content: Buffer | string, headers?: Headers): string {
4040
// Try to extract content-type header
4141
const contentType = !_.isNil(headers) ? headers.get("content-type") : null
4242

0 commit comments

Comments
 (0)