Update availability model

This commit is contained in:
rui hildt 2020-08-28 14:34:37 +02:00
parent d59a562fe2
commit aaa33b46cb
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ function addAvailability(data) {
.returning([
'id',
'participant_id',
'meeting_id',
'possible_date_id',
'preference',
'start_time',

View File

@ -8,7 +8,7 @@ const {
} = require('../../middlewares/validateParticipantID');
const Participant = require('../models/participantModel');
router.post('/:id', authenticate, async (req, res) => {
router.post('/', authenticate, async (req, res) => {
id = uuidv4();
const data = { id, ...req.body };