Skip to content

Commit

Permalink
Add comment for where parseBody method comes from
Browse files Browse the repository at this point in the history
  • Loading branch information
caleballdrin committed Jan 8, 2025
1 parent 3c94d91 commit 5989655
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/api/graphql-rest.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Record<string, unknown> | string> {
Expand Down

0 comments on commit 5989655

Please sign in to comment.