writes completed challenges to database
This commit is contained in:
@ -14,7 +14,7 @@ var userSchema = new mongoose.Schema({
|
||||
instagram: String,
|
||||
tokens: Array,
|
||||
challengesCompleted: { type: Array, default: [] },
|
||||
challengesHash: { type: {}, default: { '-1': 'void'} },
|
||||
challengesHash: {},
|
||||
|
||||
profile: {
|
||||
name: { type: String, default: '' },
|
||||
|
Reference in New Issue
Block a user