remove hardcoded db field name

user-games-dl-form
Thibault Duplessis 2020-01-10 11:44:41 -06:00
parent 528bb44599
commit e6c8baad34
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ final class UserRepo(val coll: Coll)(implicit ec: scala.concurrent.ExecutionCont
coll
.update(false, WriteConcern.Unacknowledged)
.one(
$id(userId) ++ (value < 0).??($doc("colorIt" $gt -3)),
$id(userId) ++ (value < 0).??($doc(F.colorIt $gt -3)),
$inc(F.colorIt -> value)
)