From 07ff15574e7e1c27ac2c74561a0e0272d1b4b322 Mon Sep 17 00:00:00 2001 From: Luciano Laratelli Date: Sat, 5 Apr 2025 17:45:03 +0200 Subject: [PATCH] fix execute-all! --- src/com/score_the_pigs/util/db.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]