From 107345453bbe5ea8707de7aefffc608f932cc8f4 Mon Sep 17 00:00:00 2001 From: ritvick Date: Thu, 24 Aug 2023 13:03:52 -0400 Subject: [PATCH] Issue 106: Exporting the default parser function --- src/handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler.ts b/src/handler.ts index 67b59f28..a2af36d7 100644 --- a/src/handler.ts +++ b/src/handler.ts @@ -636,7 +636,7 @@ type AcceptableMediaType = * * TODO: should graphql-http itself care about content-encoding? I'd say unzipping should happen before handler is reached */ -async function defaultParseRequestParams( +export async function defaultParseRequestParams( req: Request, ): Promise { const method = req.method;