Fallo func. asíncrona al enviar push a entradas validadas de un evento

This commit is contained in:
David Arranz 2021-05-11 18:14:18 +02:00
parent 2e94c90e66
commit a84ae23257

View File

@ -158,7 +158,7 @@ const extraControllers = {
_userIds = userIds;
} else {
if (eventId) {
_userIds = _getUserIdsForEventId(eventId, segment);
_userIds = await _getUserIdsForEventId(eventId, segment);
} else {
return handleErrorResponse(controllerOptions.MODULE_NAME, 'sendNotification', new Error('Missing event and segment'), res)
}