From 7aed7d6a205650cf7093f06363f3459d255ebde4 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 12 Sep 2019 14:02:46 +0200 Subject: [PATCH] a --- modules/events/event.controller.js | 2 +- modules/events/events_inscriptions.model.js | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/events/event.controller.js b/modules/events/event.controller.js index 8ad1389..316f0ad 100644 --- a/modules/events/event.controller.js +++ b/modules/events/event.controller.js @@ -178,7 +178,7 @@ console.log(inscription); { const OverflowEventId = inscription.overflowEventId; - if (await eventInscriptionService._validateInscription(inscription.id) > 0) { + if (await eventInscriptionService._validateInscription(inscription.id, user.id) > 0) { console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>