Tweak for poke

This commit is contained in:
2023-09-06 14:36:45 -07:00
parent 60668f1940
commit 039f430cd9
4 changed files with 17 additions and 8 deletions

View File

@@ -23,6 +23,7 @@
(let [variables (some-> (query-params "variables")
edn/read-string)
body (some-> r :body slurp)]
(println "CLIENTS" clients)
{:status 200
:body (pr-str (ql/query (:identity r) (if (= request-method :get) (query-params "query") body) (assoc variables