branch: elpa/graphql-mode
commit 0596c4ff84d057b54fec451cd13a28d54981ac97
Author: Aleksandar Dimitrov <[email protected]>
Commit: Aleksandar Dimitrov <[email protected]>

    Use json-encode instead of json-serialize
---
 graphql-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql-mode.el b/graphql-mode.el
index 59b9ce7842..52248336c3 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -405,7 +405,7 @@ when sending a request."
     (pop-to-buffer extra-headers-buffer)
     (if (and (string-empty-p (buffer-string)) graphql-extra-headers)
         (progn
-          (insert (json-serialize graphql-extra-headers))
+          (insert (json-encode graphql-extra-headers))
           (json-pretty-print (point-min) (point-max))
           (goto-char (point-min))))
     (when (fboundp 'json-mode)

Reply via email to