.
This commit is contained in:
parent
9820642f2e
commit
72654e9ce7
@ -256,6 +256,7 @@ const extraControllers = {
|
|||||||
const user = await userService._getUserByEmail(email);
|
const user = await userService._getUserByEmail(email);
|
||||||
if (user) {
|
if (user) {
|
||||||
const result = await eventInscriptionService._getInscriptionByEventAndUser(eventId, user.id);
|
const result = await eventInscriptionService._getInscriptionByEventAndUser(eventId, user.id);
|
||||||
|
console.log('result:>>>> ', result)
|
||||||
if (result) return handleResultResponse(result.stateText, null, params, res, httpStatus.OK);
|
if (result) return handleResultResponse(result.stateText, null, params, res, httpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user