aboutsummaryrefslogtreecommitdiff
path: root/cljssss-g.clj
diff options
context:
space:
mode:
Diffstat (limited to 'cljssss-g.clj')
-rw-r--r--cljssss-g.clj2
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