Skip to content

Commit

Permalink
feat: add withText
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed May 30, 2022
1 parent 448420e commit 1c8d50a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/withText.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { withContentType } from "./withContentType.js";

export function withText(body, options = null) {
return withContentType("text/plain", body, options);
}

0 comments on commit 1c8d50a

Please sign in to comment.