Skip to content

Commit 1073454

Browse files
committed
Issue 106: Exporting the default parser function
1 parent ce9ff3c commit 1073454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ type AcceptableMediaType =
636636
*
637637
* TODO: should graphql-http itself care about content-encoding? I'd say unzipping should happen before handler is reached
638638
*/
639-
async function defaultParseRequestParams(
639+
export async function defaultParseRequestParams(
640640
req: Request<unknown, unknown>,
641641
): Promise<Response | RequestParams> {
642642
const method = req.method;

0 commit comments

Comments
 (0)