- Booking Event (with email to user and admin)
- Cancel Event (with email to user and admin) - Store into mongodb
This commit is contained in:
@@ -40,6 +40,7 @@ var options = {
|
||||
mongoose.connect(process.env.MONGODB_URI, options)
|
||||
.then(() =>
|
||||
console.log('connection succesful ' + process.env.MONGODB_URI + ' db: ' + process.env.DATABASE)
|
||||
|
||||
)
|
||||
.catch((err) => console.error(err));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user