mirror of
https://github.com/arnaucube/commonroutesServer.git
synced 2026-02-28 05:26:42 +01:00
user fav system implemented
This commit is contained in:
@@ -16,6 +16,11 @@ var userSchema = new Schema({
|
||||
username: { type: String },
|
||||
value: { type: Number },
|
||||
comment: { type: String }
|
||||
}],
|
||||
favs: [{
|
||||
username: { type: String },
|
||||
userId: { type: String },
|
||||
avatar: { type: String }
|
||||
}]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user