From e91efbe2c25818b3ad626128c359193896ad9b48 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Wed, 31 Oct 2018 18:28:07 +0100 Subject: [PATCH] eastwood --- src/wanijo/framework/neo4j.clj | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wanijo/framework/neo4j.clj b/src/wanijo/framework/neo4j.clj index 51c387b..d0e33aa 100644 --- a/src/wanijo/framework/neo4j.clj +++ b/src/wanijo/framework/neo4j.clj @@ -3,7 +3,8 @@ [wanijo.framework.devmode :as devmode] [clj-time.format :as time-format] [clj-time.local :as time-local] - [clojure.spec.alpha :as spec]) + [clojure.spec.alpha :as spec] + [clojure.string :as cljs]) (:import (java.util UUID))) (spec/def ::date-str @@ -27,11 +28,11 @@ (defn butiful-query [qry] (->> qry str - clojure.string/trim-newline - clojure.string/split-lines - (map clojure.string/trim) + cljs/trim-newline + cljs/split-lines + (map cljs/trim) (filter #(pos? (count %))) - (clojure.string/join \newline))) + (cljs/join \newline))) (defn exec-query! [qry params] (with-open [session (db/get-session @conn)]