.
This commit is contained in:
parent
5b61478993
commit
d4e92fa812
@ -407,7 +407,21 @@ routes.post(
|
|||||||
routes.get("/web/events/:id/inscriptions/:email", isAPIKeyUser, eventInscriptionController.checkInscriptionByMail);
|
routes.get("/web/events/:id/inscriptions/:email", isAPIKeyUser, eventInscriptionController.checkInscriptionByMail);
|
||||||
|
|
||||||
// Esto da la inscripción de un usuario
|
// Esto da la inscripción de un usuario
|
||||||
routes.get("/web/inscriptions/:id", isAPIKeyUser, eventInscriptionController.getInscription);
|
routes.get("/web/inscriptions/:id", isAPIKeyUser,
|
||||||
|
FieldMiddleware.middleware({
|
||||||
|
//validFields: eventDetailsFields,
|
||||||
|
//invalidFields: generalInvalidFields,
|
||||||
|
}),
|
||||||
|
(req, res, next) => {
|
||||||
|
// const scopes = ["defaultScope"];
|
||||||
|
res.locals.v4 = {
|
||||||
|
removeFields: [
|
||||||
|
"code_ticket_qr",
|
||||||
|
],
|
||||||
|
};
|
||||||
|
return eventInscriptionController.getInscription()(req, res, next);
|
||||||
|
}
|
||||||
|
);
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @api {delete} /api/v4/web/inscriptions/:id Eliminar inscripcion (DeleteInscription)
|
* @api {delete} /api/v4/web/inscriptions/:id Eliminar inscripcion (DeleteInscription)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user