송용우

Update Profile Schema

...@@ -7,6 +7,7 @@ const ProfileSchema = new Schema({ ...@@ -7,6 +7,7 @@ const ProfileSchema = new Schema({
7 userBJID: String, 7 userBJID: String,
8 solvedBJ: Object, 8 solvedBJ: Object,
9 friendList: [String], 9 friendList: [String],
10 + slackWebHookURL: String,
10 }); 11 });
11 ProfileSchema.statics.findByUsername = function (username) { 12 ProfileSchema.statics.findByUsername = function (username) {
12 return this.findOne({ username }); 13 return this.findOne({ username });
......