Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`body` is not null. In my experience I got: ```json body: '{"data":{"rateLimit":{"cost":1,"remaining":0,"resetAt":"2019-08-05T12:01:30Z"},"node":{"comments":{"pageInfo":{"endCursor"... ``` I'm not certain why it would need to be `null` and why inspection of the header wouldn't suffice. `statusCode` check is also unnecessary, `queryRequest` rejects for non-200 responses so `rateLimited` will not be called in this case.
- Loading branch information