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

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

[nongnu] elpa/graphql-mode 4aebf7afd9 066/122: graphql-post-request: Use


From: ELPA Syncer
Subject: [nongnu] elpa/graphql-mode 4aebf7afd9 066/122: graphql-post-request: Use URL instead of missing ENDPOINT
Date: Sat, 29 Jan 2022 08:03:33 -0500 (EST)

branch: elpa/graphql-mode
commit 4aebf7afd9414e965318efe77ccbd7703a330059
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    graphql-post-request: Use URL instead of missing ENDPOINT
    
    There is no lexical variable ENDPOINT and surrounding code
    suggests that the value of URL should be used instead.
---
 graphql-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql-mode.el b/graphql-mode.el
index 485e7a07fa..464ce0f808 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -106,7 +106,7 @@ VARIABLES list of variables for query operation"
                             :complete (lambda (&rest _)
                                         (message "%s" (if (string-equal "" 
operation)
                                                           url
-                                                        (format 
"%s?operationName=%s" endpoint operation)))))))
+                                                        (format 
"%s?operationName=%s" url operation)))))))
     (json-encode (request-response-data response))))
 
 (defun graphql-beginning-of-query ()



reply via email to

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