Skip to content

Commit

Permalink
Fix squash
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanresnick committed Jul 22, 2019
1 parent 7655511 commit 38381f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@ module.exports = {
throw logicError;
}

if (result.query) {
return JSON.parse(result.query);
} else {
if(result.error) {
throw jsifyParseError(result.error);
}

return JSON.parse(result.query);
},

parseQuery(query) {

0 comments on commit 38381f9

Please sign in to comment.