Update availability model

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

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 };