Skip to content

Commit

Permalink
[MODIFY] added closed request field
Browse files Browse the repository at this point in the history
  • Loading branch information
at1603 committed Mar 20, 2021
1 parent 607cceb commit 895b938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/userModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const userSchema = new mongoose.Schema({
medicalRequestCount: { type: Number, default: 0 },
crimeRequestCount: { type: Number, default: 0 },
trustScore: { type: Number, default: 50 },
acceptedRequests: {type: [String], default: null}
acceptedRequests: {type: [String], default: null},
closedRequests: {type: [String], default: null}
});

userSchema.plugin(passportLocalMongoose);
Expand Down

0 comments on commit 895b938

Please sign in to comment.