chore: Fix api linting
This commit is contained in:
committed by
mrugesh mohapatra
parent
09e563f742
commit
0ccd0a6f77
@ -22,7 +22,7 @@ export default function populateUser(db, user) {
|
||||
db.collection('user')
|
||||
.aggregate([
|
||||
{ $match: { _id: user.id } },
|
||||
{ $project: { points: { $size: '$progressTimestamps' } } },
|
||||
{ $project: { points: { $size: '$progressTimestamps' } } }
|
||||
])
|
||||
.get(function(err, [{ points = 1 } = {}]) {
|
||||
if (err) {
|
||||
|
Reference in New Issue
Block a user