Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'hotfix/1.0.3'

  • Loading branch information...
commit 74f3203a57dc95abf9a4bd4d1d337c5e4328e7cf 2 parents a805226 + 773b5c3
@amalloy amalloy authored
Showing with 5 additions and 5 deletions.
  1. +1 −1  project.clj
  2. +4 −4 src/foreclojure/mongo.clj
View
2  project.clj
@@ -1,4 +1,4 @@
-(defproject foreclojure "1.0.2"
+(defproject foreclojure "1.0.3"
:description "4clojure - a website for lisp beginners"
:dependencies [[clojure "1.2.1"]
[clojure-contrib "1.2.0"]
View
8 src/foreclojure/mongo.clj
@@ -21,10 +21,10 @@
(defn prepare-seqs []
(update! :seqs
{:_id "problems"}
- {:$set {:seq (apply max
- (map :_id
- (fetch :problems
- :only [:_id])))}}))
+ {:$set {:seq (inc (apply max
+ (map :_id
+ (fetch :problems
+ :only [:_id]))))}}))
;; make it easier to get off the ground by marking contributors automatically
;; useful since some "in-development" features aren't enabled for all users
Please sign in to comment.
Something went wrong with that request. Please try again.