Skip to content

Commit

Permalink
fix: Don't send variables for instrospection request
Browse files Browse the repository at this point in the history
  • Loading branch information
ifitzpatrick committed Aug 8, 2021
1 parent a60a646 commit 6ba7961
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions graphql-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ fragment TypeRef on __Type {
(plist-get api :url)
(append
(plist-get api :data)
`(("variables" . "")
("query" . ,graphql-doc--introspection-query)))
`(("query" . ,graphql-doc--introspection-query)))
(plist-get api :headers))
(then (lambda (data)
(setq-local graphql-doc--introspection-results data)))
Expand Down

0 comments on commit 6ba7961

Please sign in to comment.