a
This commit is contained in:
parent
c4f37ea012
commit
c9dc6cff33
@ -57,6 +57,8 @@ console.log(params);
|
|||||||
result = await eventInscriptionService._getInscriptionByEvent(eventId)
|
result = await eventInscriptionService._getInscriptionByEvent(eventId)
|
||||||
else
|
else
|
||||||
result = await eventInscriptionService._getInscriptionByEventAndUser(eventId, userId);
|
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);
|
return handleResultResponse(result, null, params, res, (result === null) ? httpStatus.NOT_FOUND : httpStatus.OK);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return handleErrorResponse(MODULE_NAME, 'getInscriptions', error, res)
|
return handleErrorResponse(MODULE_NAME, 'getInscriptions', error, res)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user