emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/graphql-mode 2326c1fb18 034/122: Merge pull request #7 fro


From: ELPA Syncer
Subject: [nongnu] elpa/graphql-mode 2326c1fb18 034/122: Merge pull request #7 from eoma/fix-url
Date: Sat, 29 Jan 2022 08:03:31 -0500 (EST)

branch: elpa/graphql-mode
commit 2326c1fb185c89b05ad617bc71e1171d97d32ebd
Merge: 14bbd1917e 83e3a73f21
Author: David Vázquez Púa <davazp@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #7 from eoma/fix-url
    
    Fix: don't add slash between url and query parameters
---
 graphql-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql-mode.el b/graphql-mode.el
index a198b1df1e..e56a7bf16e 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -63,7 +63,7 @@
   "Send QUERY to the server at `graphql-url' and return the
 response from the server."
   (let ((url-request-method "POST")
-        (url (format "%s/?query=%s" graphql-url (url-encode-url query))))
+        (url (format "%s?query=%s" graphql-url (url-encode-url query))))
     (with-current-buffer (url-retrieve-synchronously url t)
       (goto-char (point-min))
       (search-forward "\n\n")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]