diff --git a/src/com/score_the_pigs/util/db.clj b/src/com/score_the_pigs/util/db.clj index 55a2c4d..862c211 100644 --- a/src/com/score_the_pigs/util/db.clj +++ b/src/com/score_the_pigs/util/db.clj @@ -2,7 +2,7 @@ (:require [next.jdbc :as jdbc])) -(defn execute-all! [{:keys [example/ds]} statements] +(defn execute-all! [ds statements] (when (not-empty statements) (jdbc/with-transaction [tx ds] (doseq [statement statements]