From 5989655d7332ecf1afe3cfb71ce30b4c2856de7f Mon Sep 17 00:00:00 2001 From: Caleb Alldrin Date: Wed, 8 Jan 2025 11:46:19 -0800 Subject: [PATCH] Add comment for where parseBody method comes from --- pages/api/graphql-rest.page.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/graphql-rest.page.ts b/pages/api/graphql-rest.page.ts index 6d771f8ba..d574f6ddf 100644 --- a/pages/api/graphql-rest.page.ts +++ b/pages/api/graphql-rest.page.ts @@ -148,6 +148,7 @@ class MpdxRestApi extends RESTDataSource { } // Overridden to accept JSON API Content Type application/vnd.api+json + // Taken from: https://github.com/apollographql/datasource-rest/blob/main/src/RESTDataSource.ts#L303-L319 protected parseBody( response: Response, ): Promise | string> {