This commit is contained in:
David Arranz 2019-08-30 18:51:45 +02:00
parent c4f37ea012
commit c9dc6cff33

View File

@ -57,6 +57,8 @@ console.log(params);
result = await eventInscriptionService._getInscriptionByEvent(eventId)
else
result = await eventInscriptionService._getInscriptionByEventAndUser(eventId, userId);
console.log('resultado de inscirpcion>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', result);
return handleResultResponse(result, null, params, res, (result === null) ? httpStatus.NOT_FOUND : httpStatus.OK);
} catch (error) {
return handleErrorResponse(MODULE_NAME, 'getInscriptions', error, res)