Change order url to invitee ID, add invitee model
This commit is contained in:
@@ -20,17 +20,10 @@ module.exports = {
|
||||
type: 'email',
|
||||
required: true
|
||||
},
|
||||
invitees: {
|
||||
type: 'array'
|
||||
},
|
||||
menuUrl: {
|
||||
type: 'url'
|
||||
},
|
||||
restaurant: 'string'
|
||||
},
|
||||
|
||||
afterCreate: function(values, next) {
|
||||
EmailService.sendRunEmails(values);
|
||||
next();
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user