a
This commit is contained in:
parent
1518953416
commit
4fe2488fa1
@ -403,8 +403,10 @@ console.log('voy a crearrrrrr la inscripcion');
|
|||||||
null,
|
null,
|
||||||
dataInscription.event.overflow_eventId);
|
dataInscription.event.overflow_eventId);
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
|
console.log('No se ha podido actualizar el aforo del evento');
|
||||||
return handleResultResponse("No se ha podido actualizar el aforo del evento", null, params, res, httpStatus.NOT_FOUND);
|
return handleResultResponse("No se ha podido actualizar el aforo del evento", null, params, res, httpStatus.NOT_FOUND);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return handleResultResponse("Aforo completo y no hay lista de espera", null, params, res, httpStatus.NOT_FOUND);
|
return handleResultResponse("Aforo completo y no hay lista de espera", null, params, res, httpStatus.NOT_FOUND);
|
||||||
|
|||||||
@ -55,7 +55,7 @@ const extraMethods = {
|
|||||||
confirmed: confirmed,
|
confirmed: confirmed,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
where: { id: eventId }
|
where: { id: eventId, typeId: { [Sequelize.Op.ne]: null} }
|
||||||
})
|
})
|
||||||
.then(function (result) {
|
.then(function (result) {
|
||||||
console.log('>>>>>>>>>>>>>>>>>>>>>>>>><resultado _updateConfirmedEvent', result);
|
console.log('>>>>>>>>>>>>>>>>>>>>>>>>><resultado _updateConfirmedEvent', result);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user