Fix addAvailibility model
This commit is contained in:
@@ -12,7 +12,7 @@ function addAvailibility(data) {
|
||||
'id',
|
||||
'account_id',
|
||||
'meeting_id',
|
||||
'possible_date',
|
||||
'possible_date_id',
|
||||
'preference',
|
||||
'start_time',
|
||||
'end_time',
|
||||
|
||||
@@ -7,7 +7,6 @@ let Meeting = require('../models/meetingModel');
|
||||
router.post('/', async (req, res) => {
|
||||
id = uuidv4();
|
||||
data = {id, ...req.body}
|
||||
console.log(data);
|
||||
|
||||
try {
|
||||
const [meeting] = await Meeting.addMeeting(data);
|
||||
|
||||
Reference in New Issue
Block a user