Skip to content

Commit 369b58d

Browse files
committed
forgot to save filecount
1 parent e0c4bbe commit 369b58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/mongodb/MongoSalatPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ class MongoSalatPlugin(app: Application) extends Plugin {
17181718
}
17191719
}
17201720
}
1721-
collection("spaces.projects").update(MongoDBObject("_id" -> spaceId), $set("spaceBytes" -> currentSpaceBytes))
1721+
collection("spaces.projects").update(MongoDBObject("_id" -> spaceId), $set("spaceBytes" -> currentSpaceBytes, "fileCount" -> fileCount))
17221722
}
17231723
}
17241724
}

0 commit comments

Comments
 (0)