Change migration middleware to not rely on boolean flag in User model
This commit is contained in:
@@ -168,7 +168,7 @@ var userSchema = new mongoose.Schema({
|
||||
}
|
||||
}
|
||||
],
|
||||
uncompletedChallenges: Array
|
||||
uncompletedChallenges: Array,
|
||||
});
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user