From a84ae2325735277d35c1cc2a9c1f6ed5547de2ca Mon Sep 17 00:00:00 2001 From: David Date: Tue, 11 May 2021 18:14:18 +0200 Subject: [PATCH] =?UTF-8?q?Fallo=20func.=20as=C3=ADncrona=20al=20enviar=20?= =?UTF-8?q?push=20a=20entradas=20validadas=20de=20un=20evento?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/notification/notification.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/notification/notification.controller.js b/modules/notification/notification.controller.js index bed8e2e..b238553 100644 --- a/modules/notification/notification.controller.js +++ b/modules/notification/notification.controller.js @@ -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) }