Fix addAvailibility model
This commit is contained in:
parent
6a3c5420b0
commit
5ccec5878d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user