Skip to content

Commit

Permalink
fix analysis upsert
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Oct 21, 2012
1 parent 82a1c51 commit cb97a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/analyse/AnalysisRepo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ final class AnalysisRepo(val collection: MongoCollection) {
collection.update(
DBObject("_id" -> id),
DBObject(
"_id" -> id,
"uid" -> userId,
"done" -> false,
"date" -> DateTime.now
),
upsert = true
)
upsert = true)
}

def byId(id: String): IO[Option[Analysis]] = io {
Expand Down

0 comments on commit cb97a31

Please sign in to comment.