branch: externals/graphql
commit c17526d9cd8f639cbbde7bf305ff7b51b9fcca76
Author: Sean Allred <c...@seanallred.com>
Commit: Sean Allred <c...@seanallred.com>

    Fix compile issues
---
 graphql.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphql.el b/graphql.el
index b0538e4ae9..cc2982e293 100644
--- a/graphql.el
+++ b/graphql.el
@@ -150,10 +150,10 @@ parameter."
                                   edges))))
     ;; When we encounter a plain cons cell (not a list), let it pass
     (`(,key . ,(and value (guard (not (consp value)))))
-     data)
+     (cons key value))
     ;; symbols should pass unaltered
     (`,(and symbol (guard (symbolp symbol)))
-     data)
+     symbol)
     ;; everything else should be mapped
     (_ (mapcar #'graphql-simplify-response-edges data))))
 

Reply via email to