Skip to content

Commit

Permalink
Revert "fix: response.data is not always set (#397)"
Browse files Browse the repository at this point in the history
This reverts commit 125c968.
  • Loading branch information
gr2m committed Jan 26, 2023
1 parent 125c968 commit bef65aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wrap-request.ts
Expand Up @@ -30,7 +30,6 @@ async function requestWithGraphqlErrorHandling(request, options) {
const response = await request(request, options);

if (
response.data &&
response.data.errors &&
/Something went wrong while executing your query/.test(
response.data.errors[0].message
Expand Down

0 comments on commit bef65aa

Please sign in to comment.