diff options
-rw-r--r-- | cljssss-g.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cljssss-g.clj b/cljssss-g.clj index 8a2e64b..8313968 100644 --- a/cljssss-g.clj +++ b/cljssss-g.clj @@ -63,7 +63,7 @@ (+ 1 (sql/with-query-results [max-id-map] ["SELECT MAX(id) FROM entry"] - (or (second (first max-id-map)) -1))))] + (or (second (first max-id-map)) -1))))] (sql/update-or-insert-values :entry ["id = ?" entry-id] {:id entry-id |