diff options
| author | lowercasename <raphaelkabo@gmail.com> | 2019-09-14 10:08:09 +0100 | 
|---|---|---|
| committer | lowercasename <raphaelkabo@gmail.com> | 2019-09-14 10:08:09 +0100 | 
| commit | 9d3da3563ce13d54673cfa3468911caeb4836741 (patch) | |
| tree | b5a751b303552d68e1e406ea4ae110892f235153 /models | |
| parent | 3b15d58ef86c041b44523462460fb3d70352ab1b (diff) | |
Functionality to limit number of attendees
Diffstat (limited to 'models')
| -rwxr-xr-x | models/Event.js | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/models/Event.js b/models/Event.js index 90c8117..43af171 100755 --- a/models/Event.js +++ b/models/Event.js @@ -155,6 +155,9 @@ const EventSchema = new mongoose.Schema({  		default: true  	},  	attendees: [Attendees], +	maxAttendees: { +		type: Number +	},  	comments: [CommentSchema]  });  | 
