Skip to content

Commit

Permalink
Issue 106: Exporting the default parser function
Browse files Browse the repository at this point in the history
  • Loading branch information
ritvick committed Aug 24, 2023
1 parent ce9ff3c commit 1073454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<unknown, unknown>,
): Promise<Response | RequestParams> {
const method = req.method;
Expand Down

0 comments on commit 1073454

Please sign in to comment.