a
This commit is contained in:
parent
9b68ad3304
commit
965a32a0e0
@ -41,6 +41,11 @@ const extraControllers = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
createInscription: async(req, res, next) => {
|
||||||
|
const params = extractParamsFromRequest(req, res, {});
|
||||||
|
console.log('crear inscripcionnnnnnnnnnnnnnnnnnnnnnnnnnnn');
|
||||||
|
|
||||||
|
}
|
||||||
//findComments: as
|
//findComments: as
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@ -71,8 +71,8 @@ routes.get('/events/:id/inscriptions',
|
|||||||
|
|
||||||
routes.post('/events/:id/inscriptions',
|
routes.post('/events/:id/inscriptions',
|
||||||
// Hacer una inscripción
|
// Hacer una inscripción
|
||||||
//isLoggedUser,
|
isLoggedUser,
|
||||||
//eventController.findComments
|
eventController.createInscription
|
||||||
);
|
);
|
||||||
|
|
||||||
routes.delete('/events/:id/inscriptions',
|
routes.delete('/events/:id/inscriptions',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user